run jquery on php page open
<p>I have a jquery notification bar script that im using. I don't know the first thing about jquery and javascript, but anyway, heres the code:</p>

<pre><code>&lt;script src="jquery.bar.js" type="text/javascript"&gt;&lt;/script&gt;
&lt;script&gt;
    $("#msgup").bar({
        color  : '#FFFFFF',
        background_color : '#8F0000',
        removebutton : false,
        message : 'hello',
        time : 4000
    });
</code></pre>

<p>how do i run this using php echo when the page opens? To run it with a link i use this</p>

<pre><code>&lt;a id=bar&gt;click here&lt;/a&gt;
</code></pre>

<p>this code would run in a section of the page that refreshes every 10 sections using jquery, so yeah, must check on 'page load'</p>
