Author
livequery and trigger
Naveen puttu
Ranch Hand
Joined: Sep 15, 2009
Messages: 57
posted Feb 07, 2010 10:38:53
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
posted Feb 07, 2010 11:04:51
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
posted Feb 07, 2010 18:06:54
@bear
im working on a project which uses that version
Naveen puttu
Ranch Hand
Joined: Sep 15, 2009
Messages: 57
posted Feb 07, 2010 18:08:52
@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
posted Feb 07, 2010 18:13:55
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 Feb 07, 2010 18:14:12 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
posted Feb 07, 2010 18:33:17
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
posted Feb 07, 2010 20:11:06
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
posted Feb 07, 2010 23:21:56
developers do . the problem exists with the So called TOP MANAGAMENT