I will try to clarify my earlier question.
Old Pedant's ajax_post function sends keyid via $_POST to displayRec.php, accepts the returned value displayRec.php via ajax.responseText, then displays a message in an alert box. In this case, returning data from displayRec.php is not useful. Instead, I want to execute displayRec.php independently of the calling file to begin processing the record associated with keyid, in the same way that would occur if it were sent using POST or GET via a FORM. Is there an AJAX method or another way to accomplish this?
Lastly, there is still a problem with the script as the alert box does not activate when the row is clicked. I presume ajax_post( ) mucked things up as pickRow( ) stopped working after it was added.
Last edited by geno11x11; 04-05-2013 at 03:07 AM..