Under what circumstances do the following two methods of binding a click event to a paragraph not behave the same:
$("p").live("click", function() { alert("p clicked") })
$("p").click(function(){ alert("p clicked") });
Under what circumstances do the following two methods of binding a click event to a paragraph not behave the same:
$("p").live("click", function() { alert("p clicked") })
$("p").click(function(){ alert("p clicked") });
How would you write a selector that selects the following
Write a jQuery plugin to display a list of images in a Lightbox.
Replace the string The quick brown fox jumps over the lazy dog with the string The1 quick2 brown3 fox4 jumps5 over6 the7 lazy8 dog9.