
Originally Posted by
anarch
sorry, it's not my problem Sgt but what do you mean label? are you talking about "name=" or a div ID?
Why would either of those attributes changed the functionality of onclick()?
This is his page source in Firebug
HTML Code:
<label class="formFieldQuestion"><h3>I would like to <input type="button" onclick="document.location = 'http://audiquattrofinal.tigersportsmarketing.com/attending/index.html';" value="Confirm"> / <input type="button" onclick="document.location = 'thankyou.html';" value="Regret"> my participation in the Audi quattro Cup 2011 - India Finals</h3></label>
His HTML is wrapped by a label element which by default gets event handlers set by the browser and anything inside it gets rendered useless unless you absolutely position it on the page.
Bookmarks