Placeholder Text For HTML Inputs with JavaScript and jQuery

November 13, 2011 in Javascript, Programming, Tutorials by admin

Have you ever wanted a fully compatible way to get placeholder text into your html input fields? Placeholder text can help your users better understand the form field as well as add a bit of dynamic flare to the website. We can do this fairly easily with JavaScript and HTML.

How To Get Placeholder Text Into HTML Input Fields

in HTML & CSS, Programming, Tutorials by admin

Have you ever seen text in an html input field and have it disappear when you click inside? This is a fairly common practice for front-end developers and designers to add additional information to aid in usability or when html fields are not labeled.

Change CSS Styles with Javascript

August 21, 2010 in Javascript by admin

Have you ever wondered how to use JavaScript to dynamically change your CSS styles on the fly? Changing CSS styles using JavaScript is actually fairly easy and can be used to create wonderful interaction. Since JavaScript and CSS are client-side languages we can easily change these without having to reload the entire page. I will be covering the easiest ways I have found to do this by changing styles on ID elements directly and showing how to change the class of an element.