To further understand the $.get() and its return data, I've simplified the
code to this:
a href="javascript:void(0);" onclick='$.get("dotest.php",{ cmd: "approve",
id: "57" } ,function(data){ alert('What the Heck'); });'> Approve /a
And dotest.php is as follows:
<?php
echo 'Welcome '.$_GET['cmd'].' '.$_GET['id'];
?>
How come I get no response? Is there a further way to debug? I've heard that
Ajax errors may be silent unless you specify.
--
View this message in context:
http://old.nabble.com/This-code-is-too-complex-for-a-noob%2C-can-someone-break-this-down.-tp27282222s27240p27297853.html
Sent from the jQuery General Discussion mailing list archive at Nabble.com.