Code:
onclick="getData('test.php','targetDiv')
This is a simple piece of
ajax that goes to the server and retrieves whatever's in
test.php.
How do i pass a querystring to
test.php, i
have tried
Code:
onclick="getData('test.php?qs=' + querystring,'targetDiv')
Please note that it will work if i do this this:
Code:
onclick="getData('test.php?qs=hello','targetDiv')
But i want to get the value of a field.
But it doesn't work, how would i concat a query string into this