Skip to Content
author's profile photo Former Member
Former Member

How to emulate button click

Hi,

I have an iView with the HtmlB button on the jsp page.

What I need is to activate the button onClick from within the program (as if the button was invisible to the user).

How can I do it?

Thanks

  Aviad

Add comment
10|10000 characters needed characters exceeded

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 17, 2004 at 12:39 PM

    When should the invisible button be clicked? Is it a particular event? Maybe you can use another control to trigger the intended behavior.

    Add comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 20, 2004 at 04:43 PM

    Hi,

    you can use an ExternalSubmitter (HTMLB control) which you can put to the form. You can define an external submitter event id (which can be the same event id as the button onClick event id). On client side you can then submit the form with the js method: htmlbexternal_submit_();

    Add comment
    10|10000 characters needed characters exceeded