Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

jquery replace element

$("elementsSelector").replaceWith( "<h2>New content</h2>" );
 
PREVIOUS NEXT
Tagged: #jquery #replace #element
ADD COMMENT
Topic
Name
3+6 =