[jQuery] Help preventing click
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META content="text/html; charset=us-ascii" http-equiv=Content-Type>
<META name=GENERATOR content="MSHTML 8.00.6001.18702"></HEAD>
<BODY>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=372450018-05062009>I have 6
links , each loads a form into its respective div. How can I disable the links
if one of the 6 is clicked preventing a user from opening up 6 forms at
once?</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=372450018-05062009>I have
</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009>$('a[class^="edit_"]').unbind('click');</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=372450018-05062009>which stops
the click from working but once the form is submitted i now need to enable the
click function again to those links.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=372450018-05062009>I added
</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009>$('a[class^="edit_"]').bind('click'); but that does
nothing.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009>Suggestions? Am i missing
something?</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=372450018-05062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face=Arial>Dave </FONT></DIV></BODY></HTML>