outside of the textbox but display the content when the cursor is within the textbox.
Any pointer to where such problem is solved or approach to implement this would be greatly appreciated.
I actually see this feature on a lot of wireless router config and WEP auth. I believe even OSX has a "show characters" button that lets you unmask the password field with typing in your wireless access password.
Well with non IE browsers, you can swap the type. With IE browsers you either needs to use a hidden field and swap/replace the text in the textbox OR you have to create and remove elements OR you need to show hide elements [password and plain textbox].