I have some text boxes, all of which have the same class “addExamNumberBoxStyle”. Now I want to bind a “blur” handler to each one of these. When I use direct “blur” event like below –
$('.addExamNumberBoxStyle').blur(function()
{
alert("Hello World");
});
it works perfectly. But when I use “live” function like below –
$('.addExamNumberBoxStyle').live('blur', function()
{
alert("Hello World");
});
it does not work.
Why?
Presumably because you don’t have a new enough version of jQuery
— http://api.jquery.com/live/