Post method

0 views
Skip to first unread message

iHello

unread,
Aug 9, 2009, 5:46:52 PM8/9/09
to LiquidGear
Hi, Guys!

I tried to get some info online.
But when I click to submit button - new window of safari is opening.

<form action="http://site.com/s.php" method="post" >

How using JS get results without opening a new safari window?

Dale.

iHello

unread,
Aug 10, 2009, 6:54:50 AM8/10/09
to LiquidGear
And can you please describe how to load an external web page into LG
interface?

Giraldo Rosales

unread,
Aug 10, 2009, 10:31:45 AM8/10/09
to liqui...@googlegroups.com
Unless AJAX is used to load JSON into the apps, the actual HTML pages are all required to be local. The online feature was removed. Why? Only because it was one of the suspects of the causes of why PhoneGap apps have been rejected.

-G

Giraldo Rosales

unread,
Aug 10, 2009, 10:39:29 AM8/10/09
to liqui...@googlegroups.com
You will want to use AJAX instead to post your data. If you are using jQuery, there are a couple AJAX methods (http://docs.jquery.com/Ajax), the $.post would be what you are looking for.

-G

iHello

unread,
Aug 10, 2009, 8:32:34 PM8/10/09
to LiquidGear

Thank you!
Also some questions:
1 If I will use ajax for online is it will be real to get approved?
2 When I change my html files and then rebuild my app - nothing
changes (I tried to clean caches - but nothing)
3 How to disable horizontal scroll of app?

Reply all
Reply to author
Forward
0 new messages