I have been doing some reading up on jquery live event and am still kind of confused? What is the benefit to using it?
http://docs.jquery.com/Events/live
I k
Basically, with .live()
you don't have to bother updating event handlers if you have a very dynamic web site.
$('.hello').live('click', function () {
alert('Hello!');
});
That example will bind the click event to any elements which already have the "hello" class as well as any elements that are dynamically inserted, be it by AJAX or by old-fashion JavaScript.