JavaScript with parameters

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



How do I complete a command to be issued by JavaScript with parameters.

The above is the short version, the long sad story follows...:-)

I have a PHP created web page consisting of data in a table. One of the fields in this table is populated by the PHP variable, $EarnTypeID. If a user clicks on the appropriate field I want to issue a JavaScript request for confirmation before issuing the JavaScript command that then calls another PHP script that will carry out the required task based on the value in the $EarnTypeID. ie I want to "location = 'earntypeDelete.php?UID=$EarnTypeID' but have the $EarnTypeID contain the correct value.

--
Regards,
Alf Stockton		www.stockton.co.za

You'll be sorry...
My email disclaimer is available at www.stockton.co.za/disclaimer.html

--
PHP Windows Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [PHP Users]     [PHP Database Programming]     [PHP Install]     [Kernel Newbies]     [Yosemite Forum]     [PHP Books]

  Powered by Linux