[jQuery] Disable question

[jQuery] Disable question

<!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.18783"></HEAD>
<BODY>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=385470616-16062009>I have a
div which loads a form. On that page I have other buttons that get i need to
disable until the form is submitted preventing the user from doing anything
other than submit or cancel.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=385470616-16062009>If they
submit the form i then need to enable all the buttons but that's not
working.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=385470616-16062009>I
have:</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=385470616-16062009>function
formLoad() {<BR> var url_id = $(this).attr('href');<BR> var e =
$(this).attr('class');<BR> var x =
$(this).attr('id').split('_');<BR> var y = x[0];<BR> var z =
x[1];<BR> //alert(e);<BR> $('a[class^="edit_"]').addClass('disabled');<BR> $('a[class^="edit_"]').fadeTo('slow'
, 0.25 , function() {<BR>  $('#resume_'+z).slideUp( 500 ,
function(){<BR>   $('#loading_'+z).show('fast', function()
{<BR>    $('#resume_'+z).load( url_id ,
function(){<BR>     $('#loading_'+z).hide(function(){<BR>      $('#resume_'+z).slideDown(500).fadeTo('fast',
1.0).fadeIn('slow');<BR>     });<BR>    });<BR>   });<BR>   return
false;<BR>  });<BR> });<BR>}</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN class=385470616-16062009>the form
gets submitted qith jquery.form helper but cant get the buttons back to
clickable.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009>Ideas?</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009>Thanks.</SPAN></FONT></DIV>
<DIV><FONT size=2 face="Trebuchet MS"><SPAN
class=385470616-16062009></SPAN></FONT> </DIV>
<DIV align=left><FONT size=2 face=Arial>Dave </FONT></DIV>












































    • Topic Participants

    • dave