HTML change to a Header with jQuery in a OS X Dashboard widget
When you use jQuery 1.2.6 in a Dashboard Widget on OS X 10.4 to insert HTML into a header html tag (<h1>, <h2>, etc) it crashes the widget.
The solution? Do it the right way by setting the text and not the html.
So instead of:
$(“h1”).html(“Foo”)
You would do:
$(“h1”).text(“Foo”)
There goes a days worth of work.