I'm using jquery ajax. The server returns a JSON object and I am fetching the array. Everything works fine in FF, of course, but somehow when i try to use this syntax:
$('#edituserLink').attr("onClick","edit('"+user[0]['USER_ID']+"');");
the onClick function wont have the value as an argument. Why?