Selecting <buttons> via VB

Discussion in 'HTML and CSS' started by smcglynn, Jun 28, 2011.

  1. smcglynn


    Jun 28, 2011
    Likes Received:
    I'm more of a VB programmer than HTML. but I'm writing an app in MS Access that goes to a web page, plugs in a users information and needs to "press" the "Add User ID" button on the web page.

    I've tried "Forms(0).submit", but that executes the "Search" function and doesn't add the UserID . . .

    I programmatically plug in the user id:

    doc.Forms("searchForm").employee_id.Value = UserID
    Then need to "press" the "Add ID to List" button.

    <button onclick="javascript:addId();return false;">Add ID To List</button>

    This particular item is Item(35) in the document. I've tried


    Can someone help me to figure out how to execute the "addID()" function?

    Thank you,

    smcglynn, Jun 28, 2011
    1. Advertisements

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.