Skip to content

Instantly share code, notes, and snippets.

@uedatakeshi
Created October 30, 2008 06:16
Show Gist options
  • Save uedatakeshi/20929 to your computer and use it in GitHub Desktop.
Save uedatakeshi/20929 to your computer and use it in GitHub Desktop.
insert br every 3 input
$(function(){
$('.searchTableTd4').parents('tr').each(function(n){
$('label', $(this)).each(function(n){
if (n % 3 == 2) $(this).append('<br />');
});
});
});
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment