Mailing Lists: Apple Mailing Lists

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

Re: Setting Form Values



Jumping in late on this. This topic has piqued my interest. How can I use stringByEvaluatingJavaSciptFromString to set form fields ? I hate to be such a newbie but if I have a WebView which I know has a single frame, and I have apriori knowledge of it, how can I work my javascript magic on it ?

I searched the developer docs for stringByEvaluatingJavaSciptFromString and came up empty.

I have a feeling that I'll need to peek and poke at form fields in the near future. If someone could tell me where to start reading I'd really appreciate it.


Matt

At 8:18 AM -0700 5/20/04, Darin Adler wrote:
On May 19, 2004, at 9:47 PM, Brian Yamabe wrote:

How can I set the values of a form in a WebView? I can use stringByEvaluatingJavaSciptFromString to get form values, but if I try to set values, nothing happens.

Setting values should work; it works on many web sites, and the same code should work in stringByEvaluatingJavaSciptFromString: calls. I suspect there's a mistake in your JavaScript code. Hard to guess what it is, given your one sentence question.


-- Darin
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.


--
----------------------------------------------------------------
Matt Mashyna email@hidden
The Frodis Co / Prodigy Internet / SBC Yahoo! Internet etc.
http://www.frodis.com
_______________________________________________
webkitsdk-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webkitsdk-dev
Do not post admin requests to the list. They will be ignored.





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.