Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Posting this web form- stumpified with javascript



Title: Posting this web form- stumpified with javascript
I've been able to submit other forms in the past with do _javascript_ in the past. like- do _javascript_ "SubAcctEnter(462412);" in document 1

Here's an example where I just can't get at the submit function. The form action is a cgi not a _javascript_ it seems. Is there a way to use Ascript + _javascript_ to fill out the form and then GUI script hitting RETURN?

- Eric


<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
    <title>Car Picker</title>
    <script language="_javascript_" type="text/_javascript_" src="">     </script>    
</head>
<body>
<h2>Car Picker</h2>
<form action="">     <p><label for="">         <select id="color" class="reqd">
            <option value="" selected="selected">Choose a color</option>
            <option value="Red">Red</option>
            <option value="Green">Green</option>
            <option value="Blue">Blue</option>
        </select>
    </label></p>
    <p><label for="">         <input type="radio" id="twoDoor" name="DoorCt" value="twoDoor" class="radio" />Two
        <input type="radio" id="fourDoor" name="DoorCt" value="fourDoor" class="radio" />Four
    </label></p>
    <p><input type="submit" value="Submit" />&nbsp;<input type="reset" /></p>
</form>
</body>
</html>
***********************************************************************
This email may contain confidential material. 
If you were not an intended recipient, 
please notify the sender and delete all copies. 
We may monitor email to and from our network. 

***********************************************************************


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/applescript-users/email@hidden
Archives: http://lists.apple.com/archives/applescript-users

This email sent to email@hidden



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.