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.