[jquery-ui] Re: how can make button temperayly not work

2009-02-20 Thread Steven Yang
oh by the way thanks Richard D. Worth for the links --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegroups.com To unsubscribe from this group, se

[jquery-ui] Re: how can make button temperayly not work

2009-02-20 Thread Steven Yang
simply .attr("disabled", "") I am wondering in the old days when without jQuery I used to do disable using true or false like: button.disabled = true; However with jQuery it seems like I cant do $("button").attr("disabled", true). is setting the disabled attribute to "disabled" the correct/standar

[jquery-ui] Re: how can make button temperayly not work

2009-02-20 Thread Richard D. Worth
See Theming jQuery UI http://jqueryui.com/docs/Theming jQuery UI CSS Framework http://jqueryui.com/docs/Theming/API - Richard On Thu, Feb 19, 2009 at 8:46 PM, Steven Yang wrote: > ha!Thanks for the insight I learned something new today > I suppose you looked through the jQuery UI CSS quite a

[jquery-ui] Re: how can make button temperayly not work

2009-02-19 Thread wangsuya
Hi Seven Thank you very much, it worked, but how can I make it enabled again? Could you tell me? Thank you very much. Wang Suya On 2月19ζ—₯, 午後6:51, Steven Yang wrote: > you mean disabling it? > jQuery way is probably $("input[name=t1]").attr("disabled", disabled"); --~--~-~--~~--

[jquery-ui] Re: how can make button temperayly not work

2009-02-19 Thread Steven Yang
ha!Thanks for the insight I learned something new today I suppose you looked through the jQuery UI CSS quite a bit I am wondering is there a document on that? or you just simply look through the whole css's. And I have seen people talking about it as the CSS Framework, but didnt come across any doc

[jquery-ui] Re: how can make button temperayly not work

2009-02-19 Thread ScottJehl
thanks Steven. In addition to that, if you're using the jQuery UI CSS Framework, you can add the class ui-state-disabled to give it a disabled appearance. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" gr

[jquery-ui] Re: how can make button temperayly not work

2009-02-19 Thread Steven Yang
you mean disabling it? jQuery way is probably $("input[name=t1]").attr("disabled", disabled"); --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "jQuery UI" group. To post to this group, send email to jquery-ui@googlegr