Re: WebKit: Inserting Values in form?
Re: WebKit: Inserting Values in form?
- Subject: Re: WebKit: Inserting Values in form?
- From: Laurent Daudelin <email@hidden>
- Date: Sat, 10 Jan 2004 00:55:14 -0500
on 10/01/04 00:39, Jonathan Wight at email@hidden wrote:
>
If you control the content and know the id/name of your form elements
>
then you can use -(NSString
>
*)stringByEvaluatingJavaScriptFromString:(NSString *)script; to execute
>
JavaScript in your HTML to set the content of the form.
>
>
If you don't own the HTML then you're probably out of luck. Actually
>
are you sure that WebKit doesn't just work like Safari anyway in this
>
respect?
>
>
Jon.
>
>
On Jan 09, 2004, at 17:48, Laurent Daudelin wrote:
>
>
> What is the best, easiest way to insert a value in an input field in a
>
> static HTML document I load in my app? A little bit like Safari when it
>
> inserts your user ID and password in some form?
>
>
>
> Thanks!
>
>
>
> -Laurent.
Jon,
Thanks, I'll give that a shot.
-Laurent.
--
============================================================================
Laurent Daudelin AIM/iChat: LaurentDaudelin <
http://nemesys.dyndns.org>
Logiciels Nemesys Software
mailto:email@hidden
finger-pointing syndrome n.: All-too-frequent result of bugs, esp. in new or
experimental configurations. The hardware vendor points a finger at the
software. The software vendor points a finger at the hardware. All the poor
users get is the finger.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.