Bug Tracker

Opened 8 years ago

Closed 8 years ago

Last modified 8 years ago

#14276 closed bug (notabug)

JQuery SubmitData caching

Reported by: [email protected] Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.4.4
Keywords: Cc:
Blocked by: Blocking:



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.

Change History (2)

comment:1 Changed 8 years ago by dmethvin

Resolution: notabug
Status: newclosed

This is definitely a forum question, not a bug tracker ticket. Try the jQuery Forum or StackOverflow.

comment:2 Changed 8 years ago by dmethvin

#14277 is a duplicate of this ticket.

Note: See TracTickets for help on using tickets.