If you call $.getScript after your regular scripts are already loaded,
domready will not fire again.

On Feb 4, 8:16 am, pere roca <pero...@gmail.com> wrote:
> hi all,
> if I'm not wrong we cannot send parameters to a script called by getScript
> function;
> so, if we "download" or get the script and then we call a function inside
> the script, shouldn't it work? the function is there, now in our browser...
> but doesn't work.
>
> $.getScript('script.js'); x("ssss");
>
> script.js:
> $(document).ready(function(){
> //x function is declared as global
> x=function(datas)
> {
>         alert(datas)
>
> };
> })
>
> Thanks!!
> --
> View this message in 
> context:http://www.nabble.com/getscript-without-parameters...-an-alernative--...
> Sent from the jQuery General Discussion mailing list archive at Nabble.com.

Reply via email to