One of the features is that when a user clicks on something, something happens. How do I simulate this click without just calling the function?
+3
A:
Using jQuery, you can do $("#myElementId").click()
to simulate a click.
JacobM
2009-11-19 19:44:38
+1 for answer and for the awesomeness of jquery
Daniel
2009-11-19 19:45:32
Truly jquery is the bomb.
JacobM
2009-11-19 19:47:01
You could also use `trigger` (http://docs.jquery.com/Events/trigger)
fudgey
2009-11-19 20:31:04