Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

how to add id in jquery

$( "p" ).add( "div" ).addClass( "widget" );
var pdiv = $( "p" ).add( "div" );
Source by api.jquery.com #
 
PREVIOUS NEXT
Tagged: #add #id #jquery
ADD COMMENT
Topic
Name
5+8 =