sorry about the wrap.
$(document).ready(function() { $("div.someClass").click(function() { /* note: no $() so you pass the element, * not the jQuery object */ elementTest(this); }); });
sorry about the wrap.
$(document).ready(function() { $("div.someClass").click(function() { /* note: no $() so you pass the element, * not the jQuery object */ elementTest(this); }); });