Anil, Insert/overwrite is generally an attribute of the software program. As far as I know, browsers also use insert mode for textboxes. If you need overwrite functionality, you could write a javascript function to do it.
You would need to keep track of the character position the user is in and update it everytime a key was pressed.