How do I rewrite this script to make it do what I want it to do?
June 1, 2008 9:53 AM
Subscribe
Can you help me? I'd like to use
this mootools script on a contact via email form on a site I'm designing for a friend, and I need to know if something about it can be changed.
As it is now, when a trigger word is typed, all the words typed so far in the field disappear and you have to start all over again. How can I change it so that all text typed in the box remains even when Event is triggered? Is it possible? If so and you care to explain, please pretend as if you're talking to a moran.
posted by iconomy to computers & internet (5 comments total)
'burn': function(text) {
txt.value = '';
Remove the line: txt.value = '';
It's setting the value to blank.
posted by jdgdotnet at 10:02 AM on June 1