Page 1 of 1

How to get SelectedID in TableName_templateDV.html

Posted: 2020-03-06 08:13
by Gerud Mani
I need to pass the SelectedID to a .php file through a link that I added to the code of (TableName_templateDV.html) file but AppGini doesn't show the SelectedID in the url so my javascript function doesn't see it! How to get the SelectedID that I can use in that .html file?

Re: How to get SelectedID in TableName_templateDV.html

Posted: 2020-03-06 08:21
by jsetzer
Maybe this could help:

Code: Select all

<script>
  var selectedID = $j('input[name="SelectedID"]').val();
  if (selectedID) {
    var href = 'TABLENAME.php?SelectedID=' + selectedID
    // ...
  }
</script>
Best,
Jan