javascript - HTML input does not get Highlighted/Selected -


we developing asp.net application. have used html input control . facing problem select/highlight value in control.

on pages html input control on div, user control. may reason?

enter image description here

in javascript can use .focus() manually focus textbox

document.getelementbyid('txtmemo').focus(); 

with plain markup use autofocus attribute.

<input type="text" id="txtmemo" autofocus /> 

autofocus introduced in html5, older browsers won't have support it.


Comments

Popular posts from this blog

blackberry 10 - how to add multiple markers on the google map just by url? -

php - guestbook returning database data to flash -

delphi - Dynamic file type icon -