Have you tried $.getScript("test.js")?
http://docs.jquery.com/Ajax#.24.getScript.28_url.2C_callback_.29
- jake
On 3/6/07, narven <[EMAIL PROTECTED]> wrote:
HI,
Im really new to jquery… but I think im in love :P LOL
I've been trying to use this to load up a js file… but.. it doesn't work K..
can anyone give me hit?? :P
$.ajax({ type: "GET", url: "test.js", dataType: "script" })
thanks
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/
_______________________________________________
jQuery mailing list
[email protected]
http://jquery.com/discuss/