jquery widget help
<p>given:
jquery 1.3.2
jquery ui 1.7.2</p>

<p>I found the following jquery snippet but am having problems with it.</p>

<pre><code>    $(document).ready(function() {
        $.widget("ui.hello", {
            options: {
                foo: "bar",
                baz: "quux"
            },
            _init: function() {
                var text = this.options.text;
                this.element.innerHTML("hello " + this.options.foo + " and " + this.options.baz);
            }
        });

        $("#thing").hello({ foo: "WORLD!" });
    });
</code></pre>

<p><em><strong>Here's the problem:</em></strong> </p>

<p>this.options.baz); <strong>is undefined</strong> shouldn't it be using the default?</p>

<p>source:
<a href="http://blog.citrusbyte.com/2010/09/16/jquery-widgets-bringing-sanity/" rel="nofollow">http://blog.citrusbyte.com/2010/09/16/jquery-widgets-bringing-sanity/</a></p>
