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?
You ought to encourage an upgrade to at least 1.3.2 -- it's much more stable and capable.
With regards to my answer:
Naveen puttu
Ranch Hand
Joined: Sep 15, 2009
Posts: 88
posted
0
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