How do I assign data to a Miva global variable when the data is generated by a javascript function after the page load. For example I have a button which calls a javascript function to capture a screenshot and save it, then it returns an alert box which contains the name of the image.
alert(obj.something_name);
How can I save the value of obj.something_name to a Miva variable? Which can then be used as a custom basket field.
alert(obj.something_name);
How can I save the value of obj.something_name to a Miva variable? Which can then be used as a custom basket field.
Comment