OnClick of a button

OnClick of a button

  

Hi Guys - What would be the best bet to do an onclick on client side there is a mouseover and mouseout events but nothing like a simple mouse click?

Cheers,

Solution

Hi Sandeep,

There is no option in the list for selection onclick , however you can still write onclick manually and assign a method to it . See below screenshot.


Regards

-PJ-

Solution

Hi Sandeep,

You can use this: http://www.w3schools.com/jsref/event_onclick.asp

However, to make it "clean" from your code you can use 2 actions to trigger the click:

SilkUIFramework.js_click()

HTTPRequestHandler.RunJavascript


Cheers!

Pramod Jain wrote:

Hi Sandeep,

There is no option in the list for selection onclick , however you can still write onclick manually and assign a method to it . See below screenshot.


Regards

-PJ-

That worked like a charm, thank you.