How do I execute an onclick function?

osho

Client
Регистрация
20.03.2012
Сообщения
125
Благодарностей
5
Баллы
18
I have a link that I don't want to actually click.. but just execute the onclick function. For example:

<a onclick='return Bob();' href='link.html'>

I don't want to visit link.html. I just want to execute Bob(); -- it displays a <div that is hidden on the current page.

Seems simple, but having a heck of a time figuring it out? Actions designer with Rise: onclick still just clicks the link.
 

rostonix

Известная личность
Регистрация
23.12.2011
Сообщения
29 067
Благодарностей
5 707
Баллы
113
Use action designer (right click in recording tab) and chose RISE onclick
 

Кто просматривает тему: (Всего: 1, Пользователи: 0, Гости: 1)