Hi all,

Problem with .ajax with type = POST

error: missing ) after argument list

$output .= "<div style='width:150px;'  ><a href=\"javascript:choice1
($id,";
$output .= "'" . $name . "'";
$output .= ")\">";

same error with

$output .= "<div style='width:150px;'  ><a href=\"javascript:choice1
($id,";
$output .= "\"" . $name . "\"";
$output .= ")\">";

no error but display choice1(99, instead of choice1(99,"10")

$output .= "<div style='width:150px;'  ><a href='javascript:choice1
($id,";
$output .= "'" . $name . "'";
$output .= ")'>";

The calling function declares dataType as script

What is the correct formulation ?

--

You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.


Reply via email to