• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: WebKit: Inserting Values in form?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >Re: WebKit: Inserting Values in form? (From: Jonathan Wight <email@hidden>)

  • Prev by Date: Main Event Loop.
  • Next by Date: how many threads/tasks are running in my application
  • Previous by thread: Re: WebKit: Inserting Values in form?
  • Next by thread: vImage
  • Index(es):
    • Date
    • Thread