Hello,
I have searched in google, but I didn't find the answer.
I want to creat something like that using javaScript:
<input type="text" onfocus="this.select();lcs(this);" onclick="event.cancelBubble=true;this.select();lcs(this);" />
here is my try, which works fine in Firefox but the events are not working in IE.
var parent = document.getElementById(parentID);
newInputFrom = document.createElement('input');
newInputFrom.type = 'text';
newInputFrom.setAttribute("onfocus","this.select();lcs(this);");
newInputFrom.setAttribute("onclick","event.cancelBubble=true;this.select();lcs(this);");
Any idea?