Hi All,
I am trying to add a an element(Select Box and added a function in onChange) through Javascript, which is working fine in IE6, IE7, FF and Opera. But i am failing in IE8.
If anyone has come accross this issue please help me.
here is my code
var productItems = ajaxObjects[ajaxIndex].response.split('**CREATIVE**');
var a3 = document.createElement('A');
div1.appendChild(a3);
a3.appendChild(document.createTextNode("Cancel"));
a3.onclick = function(){ couponCancel(productItems[0]); };
a3.style.textDecoration = 'underline';
a3.href = 'javascript:;';