162
rated 0 times
[
166]
[
4]
/ answers: 1 / hits: 21162
/ 13 Years ago, fri, april 22, 2011, 12:00:00
Ok, so this is probably obvious.
I need to get the ID of a clicked div:
$(div.editable).click(function(e) {
var editid = $(this).attr(id);
});
And the use that ID in a function w/parameters:
ajaxStyle(value, 2, editid)
But it doesn't work when I write it like this. It either returns undefined or just doesn't work.
More From » jquery