Showing posts with label blinking cursor textbox. Show all posts
Showing posts with label blinking cursor textbox. Show all posts

Tuesday, July 21, 2009

set blinking cursor in textbox

This is really very simple.
Use focus() and select() method.

like ::

document.getElementById(txtBox).focus();
document.getElementById(txtBox).select();