Re: URL Access Scripting-Form Data
Re: URL Access Scripting-Form Data
- Subject: Re: URL Access Scripting-Form Data
- From: Timothy Bates <email@hidden>
- Date: Thu, 05 Sep 2002 11:00:07 +1000
>
I can use the osax to submit form data to my cgi correctly, but I'm
>
not understanding what syntax I need to put into my form data
>
when I have an input that is an image. For example if my web page
>
normally would contain an image inside of a form such as:
>
>
<input type=image name=categories src=/somePath/find.jpg
>
border=0>
The input is not submitting the image, the image is simply what is
displayed, and all form items, irrespective of what their screen display
may, be are submitted as key=value pairs.
Clicking on an <image> field submits the form immediately. If that is all it
is doing, then you can ignore it completely - it is just an attractive
submit button.
The <image> field also provides the x and y location of the users click
(with 0,0 being the top-left or the image). These are submitted under new
variables as follows:
http://www.me.com/index.php?categories.x=100&categories.y=200
So there you go.
tim
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.