[Webtest] How to invoke Javascript from canoo?

Thakkar, Hetal webtest@lists.canoo.com
Fri, 27 Jun 2003 19:53:58 -0400


Hi all,

I have the followig html code and I want to invoke the javascript
function invoked by "OnClick".

<tr>
    <td nowrap align=3Dleft>&nbsp;</td>
    <td width=3D"90%" align=3Dright>
        <a class=3Dcmd href=3D'' LANGUAGE=3D"javascript"
onclick=3D"SubmitWithDisclosure('Update',
'http://alert10.alert2000.cdcla.com/portalsim/gecdredirection.asp');
return false">
            <img src=3D"images/btnLeft.gif" border=3D0 align=3Dtop>
            &nbsp;Submit&nbsp;
            <img src=3D"images/btnRight.gif" border=3D0 align=3Dtop>
        </a>=20
        &nbsp;
     </td>
 </tr>

>From the discussion board, I found a post that suggested to do the
following, I also tried it with label=3D"Submit":
<clicklink label=3D"" href=3D"javascript:SubmitWithDisclosure('Update',
'http://alert10.alert2000.cdcla.com/portalsim/gecdredirection.asp');
return false;"/>

But this does not work, does anyone have any other ideas?

Thanks,
Hetal