how to display the webpage using phonegap

Go To StackoverFlow.com

-1

I'm developing one application for iphone using phone gap.I that I need to display the web page when we click on one button. I designed that button using html. How to display the webpage?

2012-04-04 05:13
by Venkat1282
why not use the onclick=function_name() part while creating button and implement the function in javascript - Akash Malhotra 2012-04-04 05:17
Iam new for this platform.so how to access webpage in java script - Venkat1282 2012-04-04 05:20
r u even using jquery mobile, or what r u using - ghostCoder 2012-04-04 06:18


1

attach a click handler to that button and use this http://jquerymobile.com/test/docs/api/methods.html

2012-04-04 05:25
by ghostCoder
I need to write function on javascrip - Venkat1282 2012-04-04 06:00
@user1294652 yes dude.. - Coder_sLaY 2012-04-04 06:09
var obj = $.mobile.path.parseUrl("http://www.google.com"); i written this one on javascript function.But it was not workin - Venkat1282 2012-04-04 06:14
i think we r not getting what u really want to open. if u want to open an external url in safari, u should use a hre - ghostCoder 2012-04-04 06:16
I want to open webpage when iam click on button - Venkat1282 2012-04-04 06:18
then use simple anchor tag na http://www.w3schools.com/tags/tag_a.as - ghostCoder 2012-04-04 06:19


0

you will need to use a phonegap plugin in called childBrowser which will help you to show an external webpage without leaving your app check it at ChildBrowser for android and this is ChildBrowser for ios

2012-04-05 06:08
by Zaher
Ads