Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery

$('form > input').each(function(){
    $(this).next('label').andSelf().wrapAll('<div class="test"/>');
});
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #jquery
ADD COMMENT
Topic
Name
7+5 =