On Framework load plugin - page need to load with new url
Hello
I am having a problem to load a page with url change value and my case is as below;
I have a master pager where I am loading the data from an external plugin page by using Ajax and your framework_load_plugin_url system. Normally the page is loading perfect by default without any problem but my problem arise as I need to change the url base on the select drop down value.
Like my actual default page url is /video/detail/?type=2 and when I am filtering my data from the drop down selected list with type=3 the page url still shows /video/detail/?type=2
I need to change the url base on my drop down select value but the full page should not be refreshed and just change the url value so that when user copy the url and pass to others then they get the right data.
below is the actual form and the drop down code
--------
<form action="/video/detail/" method="get" target="_self" id="formvideo" accept-charset="UTF-8">
<select name="type" class="form-control mb-3" id="type" title="Change video type" onChange="framework_load_plugin_url('plugins/video-detail.php',document.getElementById('formvideo'),'video-list','../../','');return document.MM_returnValue">
<?php
while(!$videotype->atEnd()) { //dyn select
?>
<option value="<?php echo($videotype->getColumnVal("videocatID")); ?>"<?php if (!(strcmp($videotype->getColumnVal("videocatID"), ($videocat->getColumnVal("videoCat"))))) {echo "selected=\"selected\"";} ?>><?php echo($videotype->getColumnVal("catnameBG")); ?></option>
<?php
$videotype->moveNext();
} //dyn select
$videotype->moveFirst();
?>
</select>
</form>