aspose file tools
The moose likes HTML, CSS and JavaScript and the fly likes livequery and trigger Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Reply Bookmark "livequery and trigger" Watch "livequery and trigger" New topic
Author

livequery and trigger

Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Posts: 88
Hi

Im using jquery 1.2.6

i have a livequery function looking something like this



i want to trigger this particular function when the page loads . how would i achieve that

Cheers
n4v33n
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842

The easiest way would be to define the function as a top-level function that you can call from the ready handler and also establish as the click handler.

P.S. Why are you using a version of jQuery that is two versions out of dat?


[Smart Questions] [JSP FAQ] [Books by Bear] [Bear's FrontMan] [About Bear]
Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Posts: 88
@bear

im working on a project which uses that version
Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Posts: 88
@bear

im working on a project which uses that version.

I did not a word of what you said in the reply . Can you elaborate with an example please
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842

You ought to encourage an upgrade to at least 1.3.2 -- it's much more stable and capable.

With regards to my answer:

This message was edited 1 time. Last update was at by Bear Bibeault

Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Posts: 88
Well Bear ,

I did speak to my manager about this . But then our hands are tied because the whole application works with 1.2.6 and so changing that to 1.3.2 needs time . That is exactly what we dont have TIME
Bear Bibeault
Author and opinionated walrus
Marshal

Joined: Jan 10, 2002
Posts: 48842

Do we ever have enough time?
Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Posts: 88
developers do . the problem exists with the So called TOP MANAGAMENT
 
 
subject: livequery and trigger
 
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com