How to break jQuery.delay in Javascript?

Apopoxsic

New Member
Is there a way to break and stop javascript delay here ?I want user when click on button this delay will stop and not execute the expected code like here\[code\] $(#my_id).html('write my string here').delay(12000).fadeOut(1000) ;\[/code\]so how can this be stopped to not fadeOut my string when user click on button with id \[code\]'my_button'\[/code\] ?any help is much appreciated
 
Back
Top