Using jQuery UI with Rails

Posted by Steve on Stack Overflow See other posts from Stack Overflow or by Steve
Published on 2010-06-11T03:09:23Z Indexed on 2010/06/11 3:12 UTC
Read the original article Hit count: 377

Filed under:
|
|

Hi, I am using jQuery in my Rails App. But when I try to turn my button to jQueryUI(Cupertino theme) button, it does not appear to be look like a jQuery UI Themed button. jQuery works because I am using it for Ajax and it works properly. I have pasted the code. Please tell me whether I am doing it wrongly

<%=javascript_include_tag "jquery-1.4.2.min","jquery-ui-1.8.1.min","jquery.nivo.slider.pack","application"%>

<input type = submit id = "add" name = "add" value = " Add " />

$("#add").button();

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about ruby-on-rails