Results 1 to 3 of 3
  1. #1
    Redbull is offline Member
    Join Date
    Mar 2012
    Posts
    1
    Rep Power
    0

    Default "javascript:doSubmit('HELPPLEASE')"

    Okay, I am trying to navigate thru a website automatically. From a form on an access 2003 app, the user hits a button... it loads the website, and enters the credentials without issue. I am trying to initiate the click for login.... Everything I try does not work!


    ---What the HTML says the button is----
    <input class="tButton" type="SUBMIT" value="Log In" name="Login">
    -----------------------------------------------
    ----What I have been trying ---
    'xxx.Navigate "javascript:doSubmit('Log In');"
    ' xxx.Document.all.Item("Log In").Click
    'xxx.Navigate "javascript:doSubmit('Login');"
    ' xxx.Document.all.Item("Login").Click
    ---------------------------------
    I started thinking maybe it is a Javascript function that is running when that button is pressed... I found this function with the help of firebug addon for firefox. I would just post the website but it is an intranet site

    'xxx.Navigate "javascript:doSubmit('wldInitialisePage');"

    Any ideas or suggestions would be great... I think I have hit a wall.... I posted this question on an access forum and was advised to ask a JavaScript community :)

    Here is an image of the html on the site.... http://i.imgur.com/M1S6F.jpg

  2. #2
    KevinWorkman's Avatar
    KevinWorkman is offline Crazy Cat Lady
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    3,988
    Rep Power
    9

    Default Re: "javascript:doSubmit('HELPPLEASE')"

    Quote Originally Posted by Redbull View Post
    I posted this question on an access forum and was advised to ask a JavaScript community :)
    Sounds like good advice. Unfortunately, this is a Java forum, not a javascript forum.

    Edit- I moved this thread out of the JSP forum. JSP != javascript.
    How to Ask Questions the Smart Way
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

  3. #3
    DarrylBurke's Avatar
    DarrylBurke is offline Forum Police
    Join Date
    Sep 2008
    Location
    Madgaon, Goa, India
    Posts
    11,423
    Rep Power
    20

    Default Re: "javascript:doSubmit('HELPPLEASE')"

    And since it's off topic for this site, I'm closing the thread.

    db

    THREAD CLOSED
    If you're forever cleaning cobwebs, it's time to get rid of the spiders.

Similar Threads

  1. Replies: 1
    Last Post: 02-01-2012, 08:37 PM
  2. Replies: 2
    Last Post: 07-25-2011, 07:22 AM
  3. Replies: 1
    Last Post: 07-21-2010, 07:33 AM
  4. Replies: 1
    Last Post: 10-20-2008, 07:35 AM
  5. represent Double as "" instead of 0.0 in .jsp page without javascript
    By Tokajac in forum JavaServer Pages (JSP) and JSTL
    Replies: 1
    Last Post: 08-07-2008, 02:49 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •