Ok I have managed to find a simple solution works partly by
encompassing them (the scripts) in functions in a global script file.
and then calling the function.

so for example to have an effect of a slidedown.

normally you would do
<script>
$('#openme').slideDown("slow");
</script>

or put in on an onclick event in a link or button.....

you'd have a function

function slide_down(element_id)
{
$(element_id).slideDown("slow");
}

ps. this function should be loaded on the main page. so stick it in a
global script file like init.js or something

and call the function as:
<script>
slide_down("#openme");
</script>


this method has worked for me to some extent. I am now having problems
when trying to use accordion within the ui tabs :-s



On Oct 2, 2:27 pm, MHM <[EMAIL PROTECTED]> wrote:
> Anyone have any solution to my fiasco???
>
> On Sep 27, 7:08 pm, MHM <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I am working on a website using jquery for ajax with various other
> > jquery plugins. In my app, when making ajax queries for forms, i
> > return back the complete form as html since it carries information
> > about validation which is done on the server-side.
>
> > Taking 2 plugin into consideration, one the tabs plugin from the UI
> > suite, which loads pages onto tabbed navigation via ajax call and
> > second a password strength plugin.
>
> > I cannot get the script for the password strength to work (along side
> > other javascript.)
>
> > Upon inspecting the DOM using firebug on firefox, it appears that the
> > script tags are left out all together when writing the response text
> > onto the page via the $("#thecontent").html(), which is supposed to
> > replace the current contents.
>
> > Is this a security feature, if not how do i resolve this issue, if so
> > then is it possible to disable it?
>
> > Thanks
>
> > Regards

Reply via email to