can you see anything wrong with this code
Code:
<a class="deleteRow" onclick="
$('.deleteRow').click
(
function()
{
$.get('/delete.php', function(data){alert('Server Returned: ' + data);});
return false;
)
);"
href="#">Delete</a>
its throwing up a syntax error with the last
) any ideas where the code it incorrect?
EDIT
====
Ok noticed that one of the brackets were incorrect ) instead of }
now its throwing up another syntax error
TypeError: $(...) is null???
any ideas?
thanks