I dunno about that. Ether give the element an id and use getElementById, or
use getElementsByName(theName)[0].
On Thu, Aug 6, 2009 at 8:20 AM, Development wrote:
> It's always the smallest mistake that can frustrate a person no end.
> Several people caught what I did not. getElementByName was wha
It's always the smallest mistake that can frustrate a person no end.
Several people caught what I did not. getElementByName was what I
wanted... getElementsByName is what I typed. Thank you every one for
the catch and I'm sorry for using up bandwidth over a typo.
On Aug 5, 2009, at 8:44 PM,
getElementsByName, as the name applies, returns a collection.
On Wed, Aug 5, 2009 at 12:08 PM, Development wrote:
>
> I'm trying to get a value for a specific variable to tell if a transaction
> is complete on iphone. In the didFinishLoading delegate method I have placed
> this code:
>
> NSString
On 5 Aug 2009, at 12:08, Development wrote:
NSString * aString =[theWebView
stringByEvaluatingJavaScriptFromString
:@"document.getElementsByName(\"encrypted\").value"];
This Javascript will never work correctly, no matter whether it's from
HTML or from ObjC. getElementsByName returns a col
On Aug 5, 2009, at 2:08 PM, Development wrote:
I'm trying to get a value for a specific variable to tell if a
transaction is complete on iphone. In the didFinishLoading delegate
method I have placed this code:
NSString * aString =[theWebView
stringByEvaluatingJavaScriptFromString
:@"d
The html is pretty straight forward. It is created with php and is as
follows when you view source from the page:
it is also within a form.
the UIWebView is built in IB and linked up. It loads correctly and the
'real' page passes it's variables along to the next correctly. The
webview e
On 5 Aug 2009, at 2:08 PM, Development wrote:
I'm trying to get a value for a specific variable to tell if a
transaction is complete on iphone. In the didFinishLoading delegate
method I have placed this code:
NSString * aString =[theWebView
stringByEvaluatingJavaScriptFromString
:@"docum
I'm trying to get a value for a specific variable to tell if a
transaction is complete on iphone. In the didFinishLoading delegate
method I have placed this code:
NSString * aString =[theWebView
stringByEvaluatingJavaScriptFromString
:@"document.getElementsByName(\"encrypted\").value"];