Hello all,

I want pass the ID (which I set through name) of a button to a function so I have added this snippet to the Link to web of the button

javascript:validate_forms(this)


but it doesn't pass the ID though, if I add it to the onclick event (though HTML) after the button ID is set then it works. Is there any way to explicitly set the button ID through the Link to web to pass it to the function?