vicgui
06-03-2009, 08:29 AM
I'm trying to create an e-mail button to place on my test page as is in my book. I tried and nothing happens even though I followed it to a T. I am using the onClick attribute with the location.href property. Here is the full code:
<button onClick="location.href='mailto:vpg@yahoo.com?subject=Address Change'">Send an Address Change</button>
If anyone know why this doesn't work, Please correct me.
<button onClick="location.href='mailto:vpg@yahoo.com?subject=Address Change'">Send an Address Change</button>
If anyone know why this doesn't work, Please correct me.