jQuery legend style

[javascript]
// this is how to style the fieldset legend tag across browsers
$(‘legend’).replaceWith( ‘<h3 class="legend">’ + $(‘legend’).html() + ‘</h3>’ );
[/javascript]

Leave a Reply