search for: tabcontent

Displaying 1 result from an estimated 1 matches for "tabcontent".

2010 Jun 21
4
javascript tabs not working in rails app
...ype="text/javascript" src="../javascripts/application.js"></script> <script type="text/javascript" src="../javascripts/jquery-1.4.2.js"></script> <div id="content"> <%= yield :tabContent %> </div> This is in index.html.erb in views/products: <% content_for :tabContent do %> <div class="tabContent" id="a"> <p> Content </p> </div> <div class="tabContent" id="b"&g...