Comment

Chileno

an easy solution with "Value"

<button name="asd" value="12" onclick="alert(this.value)">one two</button>

on ie show one two
on firefox show 12

but

<button name="asd" value="12" onclick="this.value='12',alert(this.value)">one two</button>

on ie show 12
on firefox show 12

greetings from chile

Replies

Steingo

Thanks for posting this - very nice simple solution.

IE Distressed

I have to say, I have a little bit of a man crush on you right now. That's an awesome, simple solution Chileno.