jQuery in Action
[Logo] JavaRanch » JavaRanch Saloon
  Search | FAQ | Recent Topics | Hot Topics
Register / Login


Win a copy of Flex 4 in Action this week in the Flex forum!
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » HTML and JavaScript
 
RSS feed
 
New topic
Author

livequery and trigger

Naveen puttu
Ranch Hand

Joined: Sep 15, 2009
Messages: 57

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
Sheriff

Joined: Jan 10, 2002
Messages: 36549

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
Messages: 57

@bear

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

Joined: Sep 15, 2009
Messages: 57

@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
Sheriff

Joined: Jan 10, 2002
Messages: 36549

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


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

Joined: Sep 15, 2009
Messages: 57

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
Sheriff

Joined: Jan 10, 2002
Messages: 36549

Do we ever have enough time?

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

Joined: Sep 15, 2009
Messages: 57

developers do . the problem exists with the So called TOP MANAGAMENT
 
jQuery in Action
 
 
Reply Bookmark it! Watch this topic JavaRanch » Forums » Engineering » HTML and JavaScript
 
RSS feed
 
New topic
hibernate profiler

.