Menu

testing a javascript invocation on a link

Help
Anonymous
2004-05-04
2013-04-26
  • Anonymous

    Anonymous - 2004-05-04

    my html code is:
    <a id="myId"  href="javascript:myJS('paramA');">
    <img src="/test.gif">
    </a>

     
    • Anonymous

      Anonymous - 2004-05-04

      In java code:

      WebLink link = response.getLinkWithID('link');
      link.click();

      Error:
      no such property: name ...

      HELP ME !!!

       
    • renodays

      renodays - 2004-10-12

      if i am not mistaken your id='myId' not 'link'

      Note --> response.getLinkWithId('link');
      Should be --> response.getLinkWithId('myId');

       

Log in to post a comment.

MongoDB Logo MongoDB