html - Getting String from a textfield inside webpage iOS -


i'd content in textfield (with assigned id) on webpage , pass nsstring. there way load instantly without taking every html source? in advance. p.s. use objective-c

you can execute javascript using stringbyevaluatingjavascriptfromstring: method on uiwebview in order value of textfield. example, if id foo, can write:

nsstring *js = @"document.getelementbyid('foo').value"; nsstring *value = [webview stringbyevaluatingjavascriptfromstring:js]; 

Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -