Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 06-01-2009, 01:21 PM   #1 (permalink)
scotopia
Registered Member
 
scotopia's Avatar
 
Join Date: Oct 2008
Posts: 2,028
Default UIWebView loading a local html file using javascript

Hello All,

Just as a learning exercise I took a webpage that I have, which runs some javascript functions, and am trying to bring it into an UIWebView. For simplicity sake lets just say that i have two documents; an html document and a .js javascript file which it includes. On my original website I fill out a form and hit submit; which calls the javascript function to alter the page a bit based on the input.

Now I have brought these two files into my xCode project and loaded the html file locally into a UIWebView. However, when i hit submit; nothing happens. Is there something special I need to do to make the javascript work as it did on the original web version? Thanks.
scotopia is offline   Reply With Quote
 

» Advertisements
» Online Users: 740
15 members and 725 guests
aaronhartigan, Bertrand21, betterlee, chiataytuday, Domele, gascertificate, hrushikeshaddon, kampftrinker, Macaret, meribran, phackdat, superblooddrainer, wilsonn44, wodanbrlam
Most users ever online was 1,187, 10-11-2011 at 08:09 AM.
» Stats
Members: 158,828
Threads: 89,207
Posts: 380,639
Top Poster: BrianSlick (7,129)
Welcome to our newest member, aaronhartigan
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 02:54 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.