Advertisement
rdsedmundo

datatable placeholder

Jun 15th, 2014
247
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. txt = $("#art-table_filter label").html();
  2. $("#art-table_filter label").html(txt.replace((""+$("#art-table_filter label").html().split("<")[0]), ""));
  3. $("input[type=search]").attr("placeholder", txt.split("<")[0]);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement