Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

sujithkrishnan

macrumors 6502
Original poster
May 9, 2008
265
0
Bangalore
Hi all.

I am making use of above method to evaluate a javascript

Tha javascripts are like this:
Code:
function testResults (form) {
    var testVar =form.anElement.value;
    return testVar;
	
}

function testResults1 (form) {
    return "Hello";
}


However testResults1 will work if i am calling @"testResults1(this.form)" and returning me "Hello".
But the testResults(this.form) is not returning anything . . . :(
Why the var return value is not receiving by UIWebView ?
Also @"testResults1(form)" wont work, we want to prefix this before form.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.