Using jQuery insert a jQuery object (similar to an Array of DOM Elements) after all paragraphs.
HTML Code :
with solutionjQuery ExercisesClick to see the effect
JavaScript Code :
$('#button1').click(function(){ $( "p" ).after( $( "span" ) ); });
total answers (1)
start bookmarking useful questions and collections and save it into your own study-lists, login now to start creating your own collections.
HTML Code :
JavaScript Code :