Welcome Guest, Not a member yet? Register   Sign In
help on this anyone?
#5

[eluser]xwero[/eluser]
how do you disable it? I believe you used xajax but i'm not familiar with it.

I'm a jquery user and the way i do something like this is to change the class.
Code:
// view
<input type="submit" class="<?php echo $buttonclass; ?>" value="send">
// js
$(function(){
   $('.enable:disabled').each(function(){
      this.disabled = false;
    });
  $('.disable:enabled').each(function(){
      this.disabled = true;
    });
});

I hope this can help you


Messages In This Thread
help on this anyone? - by El Forum - 10-26-2007, 02:53 AM
help on this anyone? - by El Forum - 10-26-2007, 03:02 AM
help on this anyone? - by El Forum - 10-26-2007, 03:12 AM
help on this anyone? - by El Forum - 10-26-2007, 03:27 AM
help on this anyone? - by El Forum - 10-26-2007, 03:34 AM
help on this anyone? - by El Forum - 10-26-2007, 05:23 AM
help on this anyone? - by El Forum - 10-26-2007, 05:44 AM
help on this anyone? - by El Forum - 10-26-2007, 07:09 AM
help on this anyone? - by El Forum - 10-26-2007, 07:30 AM
help on this anyone? - by El Forum - 10-26-2007, 10:02 AM
help on this anyone? - by El Forum - 10-29-2007, 09:07 PM
help on this anyone? - by El Forum - 02-10-2008, 11:36 AM



Theme © iAndrew 2016 - Forum software by © MyBB