Side navigation
#14277 closed bug (duplicate)
Opened August 20, 2013 05:36PM UTC
Closed August 20, 2013 05:40PM UTC
JQuery SubmitData caching
Reported by: | mahesh_klp | Owned by: | |
---|---|---|---|
Priority: | undecided | Milestone: | None |
Component: | unfiled | Version: | 1.10.2 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Hi,
I am working on a website which is to be used on mobile browsers and also we have a Native app which loads the same URL as wrapper. We are using JQTouch(jQT), JQuery 1.4.4 and Ajax.
On one form, we have jQt.submitData(formid), which internally calls showPageByHref(href, options) from jqt.all.js.
On page 1, we have a input field and submitForm(), if any erorrs are thrown due to wrong userid, the errormessage is returned as response to Ajax call. But this is cached.
From next request, even if we try with correct userid or a blank userid, the form field values from first request are retained all the time.
I have already tried various ways to disable cache at AJAX level by using cache : false, but it didn't worked. I have also tried to call removeData(), flushCache methods to clean jQuery data, but it didn't helped.
Could you suggest how to fix it.
Attachments (0)
Change History (1)
Changed August 20, 2013 05:40PM UTC by comment:1
resolution: | → duplicate |
---|---|
status: | new → closed |
Duplicate of #14276.