eSnippets.net, a code gallery for creating, saving and sharing all kinds of code snippets.

Snippets Tagged "javascript" 3 results found

Strip Whitespace From String Javascript 682
Author: rpjs Posted On: Saturday, May 10, 2014

Whitespace, meaning tabs and spaces.

Clear Field on Focus Javascript 673
Author: rpjs Posted On: Saturday, May 10, 2014

Replace "value" with the default value. If the field is selected, the default value will go away. If the user has previously changed the field value, it'll be left alone.

Array of Country Names Javascript 692
Author: rpjs Posted On: Saturday, May 10, 2014

This will save you time, now you do not need to write all country names.