I run into this issue all the time. Inside a callback function,
like a function that response to OnClick, do I use this,
$(this), or event to get to what I need?
Let’s use a real example to demostrate what to do: A web page of
biography for a website uses a side menu to select one of several [...]
Understanding this, $(this), and event in a JQuery callback function
January 1st, 2009 · No Comments · jquery
Tags: jquery
JQuery Cheatsheet
September 2nd, 2008 · No Comments · technology
JQuery is useful, but it is built on top of the idiosyncratic javascript and DOM model. I find the whole environment lack consistency. So here are some quick cookbook style notes on how to do specific things:
Clear all checkboxes in a form
$(”:checkbox”).attr(”checked”,false)
Technorati Tags: jquery
I Love Social BookmarkingSubscribeDiggdel.icio.usFacebookMa.gnoliaRedditStumbleUponTechnorati
Tags: jquery