![]() |
Sergey Kornilov admin 4/8/2011 |
In PHPRunner 5.3 you can use Javascript API. Here is an example of adding onclick event: |
S
|
scopley author 4/8/2011 |
Thanks so much for your response. I was about to give up hope. In PHPRunner 5.3 you can use Javascript API. Here is an example of adding onclick event: http://xlinesoft.com/phprunner/docs/ctrl_on.htm In PHPRunner 5.1 you need to do this manually. Here are a few examples: http://api.jquery.com/click/ http://stackoverflow.com/questions/789824/add-onclick-property-to-input-with-javascript |
![]() |
Sergey Kornilov admin 4/8/2011 |
In version 5.1 you will need to add your Javascript code in Visual Editor switching to HTML mode. |
S
|
scopley author 4/11/2011 |
I can add the javascript to the HTML no problem. But I can't find anyway to attached the javascript to the onclick attribute of the input tag for the checkbox. In version 5.1 you will need to add your Javascript code in Visual Editor switching to HTML mode. |
![]() |
Sergey Kornilov admin 4/11/2011 |
You need to check supplied links one more time. They do explain how to locate your input element and assign a handler to onclick event. |