Doctype issue using jquery plugin
<p>i am using jquery chart it works fine when i remove DocType on the page but it shows give error if i add doc type in the page
Any help please
Doctype is as follow</p>

<pre><code>&lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
</code></pre>

<p>and jquery code is as follow</p>

<pre><code>&lt;script type="text/javascript"&gt;


    var gauge = bindows.loadGaugeIntoDiv("gauges/g_speedometer_03.xml", "gaugeDiv");

    var t = 0;
    var interval = 100;
    function updateGauge() {
        t += interval;
        var value = 80 + 80 * Math.sin(t / 3000)
        gauge.needle.setValue(value);
        gauge.label.setText(Math.round(value));
    }
    setInterval(updateGauge, interval);

&lt;/script&gt;
</code></pre>
