beedesk / jQTouch

jQT + actively maintained + exclusive features (iPad layout, iscroll, tons of css enhancements, page events, param passing between pages, radio button, grid, mail, improved page history management etc.)
http://bit.ly/beedesk-jqt
MIT License
72 stars 13 forks source link

2 issues with POST Form #24

Closed gaetan29 closed 13 years ago

gaetan29 commented 13 years ago

Hi, First of all, thank for your excellent work. I am testing your project and have issues for the POST form. Here is my dev url: http://www.dev.sainte-marine.org/jQTouch-BRNOR2/vega/main/#logon

1- For some reason, the submit button does not work. The only way to post the field username is to use the 'Go' button in the virtual keyboard.

2- Secondly, if I try to add an extra field (ie: password), then the POST procedure does not work at all. (even by pressing the 'Go' button. Could you please guide me.

Below is the index.php file contents:

<!doctype html>

``` jQTouch β

Test Online System

Version 0.01.13.05.2011

Powered by

jQTouch
Version 1.0 beta



Close

M E N U

About

Add this page to your home screen to view the custom icon, startup screen, and full screen mode.

T E S T  O N L I N E  S Y S T E M

Home

Log On

Back



Test Online System

Submit
```

Now, basic contents of "check_logon.php":

<?php $test = "It's working !";

?>

thomasyip commented 13 years ago

I won't have time to do a full debug session for you. But, it would be the first thing I try:

See jqtouch.js line 910 - 912 if (e.isDefaultPrevented()) { return; }

I see that the method return because the default is prevented. If you are lucky, you might get away commenting the above line out.

thomasyip commented 13 years ago

Let me know how it goes. Kindly reopen it if you think it is still a problem of jqtouch code.

gaetan29 commented 13 years ago

Hi, Many thanks for your prompt reply. Your solution resolved the issue.

thomasyip commented 13 years ago

I fixed the problem by removing a call to "preventDefault" from submitParetnForm(). The HEAD should work for you now.

jeffbarclay commented 12 years ago

"I'm NEW" ...

not sure if this is the same issue or not, but can someone tell me if this is fixable?

I have an iPad web app that has worked fine in JQTouch, I'm adding the splitview and converting my existing code. One issue I can't find a solution for is my dropdown ```

thomasyip commented 12 years ago

Thanks for reporting.

See my answer with https://github.com/beedesk/jQTouch/issues/30