is it possible to replace a jquery button with an image or text. Here’s the code below:
<script>
[B][U]Javascript[/U][/B]
$(document).ready(function(){
$(".test .hide").replaceWith( "<a href"#">Test</a>" ).click(function(){
$(this).parents(".test").fadeOut("slow");
});
});
[B][U]html[/U][/B]
<div class="test">
<button class="hide">Hide</button>
<p>Test</p>
</div>
</script>
Any help would be great.