I am UI Designer, Slightly Workaholic, Dreamer, Sleeps during day, Movie addict... sharing what i know.........
- Abdul Wahid ... color2life
jQuery

Disable submit button using live after form submitted

using live for form submit $("form").live("submit", function() { $('input:submit').attr("disabled", "disabled"); $('input:submit').addClass("disabled"); }); this code is to disabled the button and add disabled class to it. problem: This is not working with jquery ui dialogs. It disabled the button before the form submitted so button params = nill Solution: So i am using delay. so come up...

Difference between jQuery live() and delegate()

Live() vs. Delegate() both are use to attached event to current element and future elements which we append after DOM loaded e.g. we load some table rows using ajax. but still they have difference… let start with live() Its attached directly to elements like class or id but not be used with chaining. Right use...