I have this little script to toggle a contact form when a button is clicked :
$(document).ready(function(){ $(\"#button\").click(function () { $(\
For Paul, adding to the accepted answers solution, creating a toggle function is simple.
$.fn.ClearTypeToggle = function(options) { if ($(this).css('opacity') == 1) { $(this).ClearTypeFadeOut(options); } else { $(this).ClearTypeFadeIn(options); } }