Reputation: 1
When I have this as my javascript_include_tag in the head section application.html.erb
:
<%= javascript_include_tag :defaults %>
I can successfully use disable_with
on submit_tag
, but when I change it to:
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"%>
<%= javascript_include_tag "http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.1/jquery-ui.min.js" %>
<%= javascript_include_tag "application" %>
..in order to use a jQuery calendar I cannot use disable_with
anymore. It doesn't work anymore.
Any ideas?
Upvotes: 0
Views: 967
Reputation: 5760
You're missing rails.js add that as well to your includes
<%= javascript_include_tag "rails" %>
Upvotes: 1