Jquery Archive

Minimalism has become a common feature in the Web 2.0 world. Everything including forms have now become minimalistic. Putting labels alongside form fields has become too Web 1.0 ish. Most websites these days use watermarks or placeholders to provide hints to users on  how to fill a form field. Now if you have just migrated from the Web 1.0 to Web 2.0 and are still wondering how to place watermarks or placeholders in your forms, read on. Method 1 : Changing value of the text field based on events This method has been used by many websites as it is easy to implement and is the most browser compatible method. Basically you will be adding event listeners for the ‘onfocus’ and ‘onblur’ events of the [&hellip

Read More...