0

I am using Jquery stpes plugin for wizard. Here I have one problem, On step 2 I am making ajax call to get the data and filling into input controls but the problem here is data is refreshing everytime on step changes. so state is not maintain. I have set the enableCacheContent=true, still it's not working.

form.steps({
        headerTag: "h3",
        bodyTag: "fieldset",           
        enableContentCache: true})
roottraveller
  • 7,942
  • 7
  • 60
  • 65
user3683342
  • 43
  • 1
  • 6
  • what do you mean not working. please add the problem (errors you might get) – davejal Nov 24 '15 at 12:20
  • every time its getting data from server.So,state is not maintaing on step change.I want only on first time it will call to server,Once data loaded,on step out or come again from other steps,It should not make any server call – user3683342 Nov 24 '15 at 14:03

1 Answers1

0

You can save response data in local variable, and check if the data exist in variable does not make request again

Ruben.sar
  • 376
  • 3
  • 11