This forum has moved to a new location and is in read-only mode. Please visit talk.octobercms.com to access the new location.

jesusvaz11281
jesusvaz11281

I am working in a component where on the onRun function I assign info to a (member or global variable).

Then i call a function: $('#getDatos').request('onGradeQuestion' using request but lose the data stored in the member variable. it became null.

I think it has to do with the page cycle. In my understanding i am performing a ajax request so i should not lose data.

Please help me to avoid loosing data on member variables.

1-1 of 1

You cannot edit posts or make replies: the forum has moved to talk.octobercms.com.