What i'm really trying to do is to get the "%deviceid" value. Is there
anyway to get it without doing a form submit?
-Ray
Tom Zerucha wrote in message <19631@palm-dev-forum>...
>
>On Wed, Aug 02, 2000 at 10:07:29AM -0700, Ray Felipe wrote:
>> I have a PQA file accessing an HTML script with javascript:
>>
>> <html>
>> <body onload=document.myform.submit()>
>> <form action="getdevid2.cfm" method="post" name="myform">
>> <input type="hidden" value="%deviceid" name="devid">
>> </form>
>>
>> -- <BR>
>> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/
>>
-- <BR>
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/
</BODY>
>> </html>
>>
>> Palm Pilot doesn't seem to understand the "document.myform.submit()"
>> function. I'm trying to automatically submit a form so I can get the
value
>> of "%deviceid". I want this script to be on the server side for security
>> reasons.
>>
>> Is there a way to get Palm to understand javascript?
>
>No. Unless you want to do a full javascript library.
>
>Palm understands basic HTML including forms, so if it had a submit
>button it would work. Just create one with a "tap me to continue".
>
>
>