Hey I'm not exactly sure of what you are trying to do but maybe
something like this will work:

$("#close").click(function() {$("@src=/media/js/function1.js").attr
('src','/media/js/function2.js');});

On Dec 19, 8:32 am, "Alfredo Alessandrini" <[email protected]>
wrote:
> Hi,
>
> can I close a jquery function and load a new function with a mouse click?
>
> like this:
>
> on mouse click -> CLOSE "<script type="text/javascript"
> src="/media/js/function1.js"></script>" -> LOAD "<script
> type="text/javascript" src="/media/js/function2.js"></script>"
>
> Thanks,
>
> Alfredo

Reply via email to