Re: General question about what is possible re: AS driving JavaScript
Re: General question about what is possible re: AS driving JavaScript
- Subject: Re: General question about what is possible re: AS driving JavaScript
- From: Bill Planey <email@hidden>
- Date: Sat, 16 Jul 2005 18:29:04 -0500
On 7/12/05 8:18 PM, "Malcolm Fitzgerald" <email@hidden> wrote:
> To build the URL you concatenate (1) the domain name and (2) the action
> and (3) the field key/value pairs
>
> http://www.domain.com/cgi-bin/info.cgi/ChangedAddress?
> street=33+Lilly+st&location=Redfern&state=NSW&postcode=2012
>
> This example URL is the equivalent of a web form with four fields:
> street, location, state and postcode. However, it's a URL, so you can
> paste it into the browser location bar and go to it. It's the same as
> filling out the form and pressing the submit button.
Malcolm,
Well, actually I made it partially work on one of the pages; the thing that
worked is the fields getting filled in. There is still the matter of
automating the pressing of the SEARCH button and there's also a popup menu
that allows selection of a county; even though I found the field name for
that popup and gave it a value different from the last-used value, it did
not change it. So there must be some other command(s) that need to be
tacked on to the URL I concatenate that will do the SEARCH and the pop-up
selection.
But I feel I'm getting closer.
Here is the code connected with the SEARCH button:
<td><input type="submit" name="btnSearch" value="Search" id="btnSearch"
tabindex="2" />
Here is the code connected with the county pop-up:
<td><select name="ddlCounty" onchange="__doPostBack('ddlCounty','')"
language="javascript" id="ddlCounty" tabindex="1">
... Followed by the various option values.
Do you think I'll need to actually pass a javascript command to the browser
in order to do these other things, or can the command somehow be made part
of the URL?
Thanks,
Bill Planey
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Applescript-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden