Resolved through this code. jQuery('#slick-toggle').unbind("click").click(function() { jQuery('#slickbox').toggle('blind',350); return false; });
On Apr 2, 11:45 am, Nabeel Faruqui <nabeel.faru...@gmail.com> wrote: > remember that on this page we are using the ATLAS control also. I > think AJAX Atlas might be creating the issue. any resolutions ? > > On Apr 1, 4:03 pm,NabeelFaruqui <nabeel.faru...@gmail.com> wrote: > > > > > Hi, > > This is my simple jquery code. I have included it in the head of html > > document. > > > <script type="text/javascript"> > > jQuery(function() { > > jQuery('#slickbox').hide('fast'); > > > jQuery('#slick-toggle').click(function() { > > jQuery('#slickbox').toggle('blind',350); > > return false; > > }); > > > }); > > </script> > > > the problem is that every time AJAX postback occures, and when i click > > the slickbox button, it is fired as many times the AJAX postback > > occures. i.e. If 3 postbacks, the slickbox.click function is fired 3 > > times. I dont want that. I need that to be fired only one time. > > > Let me know.- Hide quoted text - > > - Show quoted text -