ios - stringByEvaluatingJavaScriptFromString functions in Swift -



ios - stringByEvaluatingJavaScriptFromString functions in Swift -

i trying create javascript code website (footlocker.com) run in webview in app when button pressed. how can format code when press button in app, run javascript code website pressing button me pretty much. believe have stringbyevaluatingjavascriptfromstring string not sure. please allow me know if have ides.

and also, how can javascript code of website? think inspect element not sure.

this javascript code got inspect elemen of button want app press footlocker.com (add cart button) not sure if correct:

<input title="add cart button" tabindex="869" name="pdp_addtocart" value="add cart" type="submit" class="active_step">

thanks!

ios swift

Comments

Popular posts from this blog

php - How to pass multiple values from url -

xslt - DocBook 5 to PDF transform failing with error: "fo:flow" is missing child elements. Required content model: marker* -

database - php search bar when I press submit with nothing in the search bar it shows all the data -