Skip to Content
0
Former Member
Mar 02, 2006 at 03:47 PM

Clicking a htmlb:button via Java Script

11 Views

Hi all!

I would like to 'click' a htmlb:button via Java Script.

Example with a html-button:

<htmlb:button id="b1" onClientClick="javascript:document.form_id['b2'].click()" text="Call Button 2"/>

<input id="b2" type="button" onclick="alert('2')">

Does anybody have an idea how it works with a htmlb:button?

Thanks!

Stefan

Message was edited by: Stefan Kittsteiner