Jquery not loading in rails 3.2.6 -
i'm having trouble figuring out why jquery isn't loading in rails 3.2.6 app. when use "$" in browser console, said that:
function $() { [command line api] } then, when view source in browser, seems jquery not loading:
<link href="/assets/application.css?body=1" media="all" rel="stylesheet" type="text/css" /> <script src="/assets/application.js?body=1" type="text/javascript"></script> in application.html.erb:
<%= javascript_include_tag "application" %> <%= stylesheet_link_tag "application", :media => "all" %> <%= csrf_meta_tags %> application.js:
//= require jquery //= require jquery_ujs //= require_tree . any appreciated.
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.7.2/jquery-ui.min.js" javascript_include_tag "jquery-rails.js" for more details check site click here
also chk question click here
Comments
Post a Comment