I used the code from http://dropthebit.com/580/fancy-input-jquery-plugin/, and it works well so far, but I can't figure out how to delete the data from the textbox on focus.
This is some code I feel may be relevant:
$('section :input').val('').fancyInput()[0].focus();
// Everything below is only for the DEMO
function init(str){
var input = $('section input').val('')[0],
s = 'Type Something ?'.split('').reverse(),
len = s.length-1,
e = $.Event('keypress');
var initInterval = setInterval(function(){
if( s.length ){
var c = s.pop();
fancyInput.writer(c, input, len-s.length).setCaret(input);
input.value += c;
//e.charCode = c.charCodeAt(0);
//input.trigger(e);
}
else clearInterval(initInterval);
},150);
}
init();