[jQuery] Re: please wait while loading...
fabrice.regnier wrote: Hi to all, i have a nice gif please wait while loading... and i'd like to show it when i click on a button. Is there a nice jquery way to do it ? do i need a plugin ? $(#Idsubmit).click(function () { -- start showing the gif long process -- stop showing the gif }); Easiest is to do it directly: $(#Idsubmit).click(function () { $(#nicegif).show(); long process $(#nicegif).hide(); }); I do it all the time.
[jQuery] Re: please wait while loading...
Look into using the excellent plugin BlockUI (http://malsup.com/jquery/ block/) and you can take your nice gif and set that as the message parameter of that plugin On Dec 10, 10:56 am, fabrice.regnier [EMAIL PROTECTED] wrote: Hi to all, i have a nice gif please wait while loading... and i'd like to show it when i click on a button. Is there a nice jquery way to do it ? do i need a plugin ? $(#Idsubmit).click(function () { -- start showing the gif long process -- stop showing the gif }); thanks and regards, f.
[jQuery] Re: please wait while loading...
perfect! thanx a lot. days after days, i feel the power of jquery ! may the js be with you luke ;) regards, f.