Hi all
I am trying to simulate event in IE.
input.set.value("newValue");
input.trigger("blur");
HTML code:
<input type="text" id="email" name="email" onblur="test()">
and the function "test"
function test(){
alert("1");
alert(event.srcElement);
}
when I try it manually in IE ,I get it work perfectly, but when I run using Webspec it pop's up the first alert but then says: "Unable to get value of the property 'srcElement': object is null or undefined".
Why when I run Webspec it simalates the event but then it says that the event is null?
Thanks