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安的最有效方式。
非常感谢。