English 中文(简体)
Anders Browser Back Arrow/Resubmit Submit 老年动态 表格
原标题:Android Browser Back Arrow/Resubmit Submitting Old Dynamic Form Data

I have created a system which dynamically builds a form and populates it with hidden inputs and then submits it. I use jQuery to do this and have used:

$( big form string here ).appendTo( body ).submit();

以及以各种形式向OMD添加和提交。

该系统在吉乐流动框架内实施。

我已将该系统用于任何页数改动或格式提交。 我在每一表格和每一页都有人工标明的数据-分类错误。

此外,首页载有:

<meta http-equiv="Cache-Control" content="no-store, no-cache, must-revalidate, max-age=0"/> 
<meta http-equiv="Pragma" content="no-cache" />
<meta http-equiv="Expires" content="Sat, 26 Jul 1997 05:00:00 GMT" />

我面临的问题似乎只出现在安伯瑟,涉及,在击落浏览器后提交第二次

Upon returning back to the page with the previously dynamically created form, I check for forms and any inputs in the entire DOM and find none. Which is accurate considering the above header values right? On submit, I dynamically recreate the form again just like the first time.

但...... 当我看一下提交之前的格式和数据时,它仍然有以前提交的数据,并将以前的数据反馈给服务器!

移动电话、航天飞机或 Chrome都没有发生。

The only way I was able to get it working was to hard code the form in the HTML on the page which would require a significant refactoring of my project!

我不敢肯定,我在这里谈论的是隐藏的多功能物体,或者说与浏览器历史物体或一些杂质移动ach或其他东西有关的东西。 既然它用的是安乐器,那么看整个OM并不容易。

Nothing seems to have tamed this beast.

如果任何人都有兴趣实际看到这种形式,并且可能有一些强有力的方式来欺骗安乐,请它,我可以向你发出联系和指示。

另外,请允许我知道,以某种丑化方式 em安的最有效方式。

非常感谢。

问题回答

暂无回答




相关问题
Android - ListView fling gesture triggers context menu

I m relatively new to Android development. I m developing an app with a ListView. I ve followed the info in #1338475 and have my app recognizing the fling gesture, but after the gesture is complete, ...

AsyncTask and error handling on Android

I m converting my code from using Handler to AsyncTask. The latter is great at what it does - asynchronous updates and handling of results in the main UI thread. What s unclear to me is how to handle ...

Android intent filter for a particular file extension?

I want to be able to download a file with a particular extension from the net, and have it passed to my application to deal with it, but I haven t been able to figure out the intent filter. The ...

Android & Web: What is the equivalent style for the web?

I am quite impressed by the workflow I follow when developing Android applications: Define a layout in an xml file and then write all the code in a code-behind style. Is there an equivalent style for ...

TiledLayer equivalent in Android [duplicate]

To draw landscapes, backgrounds with patterns etc, we used TiledLayer in J2ME. Is there an android counterpart for that. Does android provide an option to set such tiled patterns in the layout XML?

Using Repo with Msysgit

When following the Android Open Source Project instructions on installing repo for use with Git, after running the repo init command, I run into this error: /c/Users/Andrew Rabon/bin/repo: line ...

Android "single top" launch mode and onNewIntent method

I read in the Android documentation that by setting my Activity s launchMode property to singleTop OR by adding the FLAG_ACTIVITY_SINGLE_TOP flag to my Intent, that calling startActivity(intent) would ...

From Web Development to Android Development

I have pretty good skills in PHP , Mysql and Javascript for a junior developer. If I wanted to try my hand as Android Development do you think I might find it tough ? Also what new languages would I ...