set url after selecting record

This commit is contained in:
Uwe Steinmann 2020-02-25 09:52:27 +01:00
parent 4675c785db
commit 9696187a9a
3 changed files with 3 additions and 0 deletions

View File

@ -48,6 +48,7 @@ $(document).ready( function() {
});
$( "#selector" ).change(function() {
$('div.ajax').trigger('update', {attrdefid: $(this).val()});
window.history.pushState({"html":"","pageTitle":""},"", '../out/out.AttributeMgr.php?attrdefid=' + $(this).val());
});
});
<?php

View File

@ -101,6 +101,7 @@ $(document).ready( function() {
$( "#selector" ).change(function() {
$('div.ajax').trigger('update', {groupid: $(this).val()});
window.history.pushState({"html":"","pageTitle":""},"", '../out/out.GroupMgr.php?groupid=' + $(this).val());
});
});
<?php

View File

@ -75,6 +75,7 @@ $(document).ready( function() {
});
$( "#selector" ).change(function() {
$('div.ajax').trigger('update', {userid: $(this).val()});
window.history.pushState({"html":"","pageTitle":""},"", '../out/out.UsrMgr.php?userid=' + $(this).val());
});
});
<?php