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

app2011

macrumors newbie
Original poster
Aug 29, 2011
3
0
Hello all,

I have already added the .js file through -> target-> build phase->copy bundle resources and adding file in it. I have also defined the path of .js file in -(void)webviewDidFinishLoad like
Code:
NSString *jsPath = [[NSBundle mainBundle] pathForResource:@"jquery-1.3.2.min" ofType:@"js"]; NSLog(@"jsPath..:%@",jsPath);
[self insertJavascriptByURL:[NSURL fileURLWithPath:jsPath] asReference:NO];
but i am not getting the same effect as it show in web browser. I can elaborate it further(all .js files and and what i am giving to these files). I am attaching the image, the effect i needed and .js files as zipp. help me out
 

Attachments

  • js files.zip
    449.7 KB · Views: 44
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.