Sorry - I should add the test: The JS:
$(function() { $('#test').wrap('<b></b>'); }); Then standard HTML with a P tag with the ID of 'test' and some dummy content within it.
Sorry - I should add the test: The JS:
$(function() { $('#test').wrap('<b></b>'); }); Then standard HTML with a P tag with the ID of 'test' and some dummy content within it.