How do I execute an onclick function?

  • Автор темы Автор темы osho
  • Дата начала Дата начала

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.
 
Use action designer (right click in recording tab) and chose RISE onclick
 

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