Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
jquery ui tables in rails
<!DOCTYPE html>
<%= stylesheet_link_tag "application" %>
<%= javascript_include_tag :defaults %>
<%= csrf_meta_tag %>
<%= yield(:head) %>
<%=javascript_tag "$(document).ready(init)" %>
<%= yield %>
function init() {
function styleTables() {
$(".table th").each(function(){
$(".table td").each(function(){
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.