Link to home
Start Free TrialLog in
Avatar of aej1973
aej1973

asked on

passing data from PHP to jQuery function...

Hello, I have a PHP application that I pass data to a jQuery function. My query runs correctly when I pass a single string, example "completed", but if I pass a value like "Not Done", my script does not run. The snippet of my scripts are as follows:

Jquery:

$("#dialog").load("index.php?action=" + $(this).data("id"), function() {

PHP:
<td><input  name="radio" type="radio" data-id="<?=$st;?>"</td>

What change do I make  so my script processes a value like "Not Done"? Thank you.

A
ASKER CERTIFIED SOLUTION
Avatar of Gary
Gary
Flag of Ireland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of aej1973
aej1973

ASKER

Perfect! Thank you.