attachEvent itself worked, thanks
does the
not work in IE because its working in mozilla but not in IE.
does the
Code:
var div=document.getElementById("div_id");
var example=document.createElement('input');
example.type='submit';
example.name='submit';
example.value='submit;
div.appendChild(example);
Comment