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.
 
If they submit the form i then need to enable all the buttons but that's not
working.
 
I have:
function formLoad() {
 var url_id = $(this).attr('href');
 var e = $(this).attr('class');
 var x = $(this).attr('id').split('_');
 var y = x[0];
 var z = x[1];
 //alert(e);
 $('a[class^="edit_"]').addClass('disabled');
 $('a[class^="edit_"]').fadeTo('slow' , 0.25 , function() {
  $('#resume_'+z).slideUp( 500 , function(){
   $('#loading_'+z).show('fast', function() {
    $('#resume_'+z).load( url_id , function(){
     $('#loading_'+z).hide(function(){
      $('#resume_'+z).slideDown(500).fadeTo('fast', 1.0).fadeIn('slow');
     });
    });
   });
   return false;
  });
 });
}
 
the form gets submitted qith jquery.form helper but cant get the buttons
back to clickable.
 
Ideas?
 
Thanks.
 
Dave 

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"jQuery (English)" group.
To post to this group, send email to jquery-en@googlegroups.com
To unsubscribe from this group, send email to 
jquery-en+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/jquery-en?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to