I have this string which is supposed to allow someone to jot their email address in to subscribe or unsubscribe to a newsletter or similar item. New at HTML and PHP, etc. so can someone tell me what do I place where to make this code work? See below:
Code:
<form action="http://example.com/" id="newsletter-form"> <fieldset> <div class="rowElem"> <h2>Newsletter</h2> <input type="email" value="Enter Your Email Here" onFocus="if(this.value=='Enter Your Email Here'){this.value=''}" onBlur="if(this.value==''){this.value='Enter Your Email Here'}" > <div class="clear"><a href="http://bytes.com/" class="fleft">Unsubscribe</a><a href="http://bytes.com/" class="fright" onClick="document.getElementById('newsletter-form').submit()">Submit</a></div> </div> </fieldset> </form>
Comment