
Originally Posted by
jdadwilson
Thanks for the info. Don't worry about sounding dismissive. Although I am old, I still need to learn new tricks. Thanks...
jdadwilson
OK, I am starting to get my brain around the issue. Sorry for any misunderstanding.
What I need to do is simply send a parameter (the text in the input onblur box) back to the script containing the onblur input box. Something similar to:
Code:
<input onblur="enterID('<?php $_SERVER['SCRIPT_NAME'] . "?load="?>this.value');" />
This works for selecting a table row with an onclick event since the value passed is preset and not dependent on this.value.
Code:
<tr onclick="selectRow('myScript.php?mov=11');">
This is the function...
Code:
function selectRow(theUrl) { document.location.href = theUrl; }
In this case the mov number is set when the table is built, not at runtime as needed for the onblur.
The event is firing and my code is processing the request, it is just that the $_GET value is 'this.value' not the actual value.
Again, TIA for your assistance
jdadwilson
Bookmarks