Skip to main content

Bug Tracker

Side navigation

#14276 closed bug (notabug)

Opened August 20, 2013 05:32PM UTC

Closed August 20, 2013 05:39PM UTC

Last modified August 20, 2013 05:40PM UTC

JQuery SubmitData caching

Reported by: kulkarni.mak172@gmail.com Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.4.4
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 (2)

Changed August 20, 2013 05:39PM UTC by dmethvin comment:1

resolution: → notabug
status: newclosed

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

Changed August 20, 2013 05:40PM UTC by dmethvin comment:2

#14277 is a duplicate of this ticket.