Hi!
I am trying to persistently store data in a users browser using JS and IE UserData. Everything worked perfectly until I installed Visual Studio.
This is part of the code:
var el = document.createElement('div');
el.id = id;
el.style.display = 'none';
el.addBehavior('#default#userdata');
// append element to body
document.body.appendChild(el);
// in a class assign this.el to the el variable.
[..]
this.el.setAttribute(key, val);
this.el.save(esc(this.name))
The setup works *perfectly* until Visual Studio is installed. I only noticed the errors because there is a try() catch() around the code that reports the UA and error if something bad happens.
Apparently the code fails when at:
this.el.save() with undefined method save. And indeed this.el.save is undefined.
Sometimes the error is just simply "Object error".