radio and checkbox do not work properly
Second attempt as the first one produced an Access Denied error message.
I have Firefox 14.01 (corrected version) running and a Mac. The following code works perfectly for the text box but not for the radio and checkbox. They do not produce an alert message. I created a new profile and I tested it without any success.
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Title</title> </head> <body> <form method="POST" action="#" name="user"> <input type="checkbox" onBlur="alert('chk alert1');" name="sun1"> <br><br> <input type="checkbox" onBlur="alert('chk alert2');" name="sun2"> <br><br> <input type="text" onBlur="alert('text alert3');" name="sun3"> <br><br> <input type="radio" onBlur="alert('radio alert4');" name="sun4"> </form> </body> </html>
Modifié le
Toutes les réponses (1)
Working fine here on Linux.
You aren't blocking additional pop-ups?
Does it make any difference if you (temporarily) disable modal alert/prompt?
You can set the Boolean pref prompts.tab_modal.enabled to false on the about:config page.
data:text/html;charset=utf-8;base64,PCFET0NUWVBFIGh0bWwgUFVCTElDICItLy9XM0MvL0RURCBIVE1MIDQuMDEgVHJhbnNpdGlvbmFsLy9FTiIgImh0dHA6Ly93d3cudzMub3JnL1RSL2h0bWw0L2xvb3NlLmR0ZCI+CjxodG1sPgo8aGVhZD4KPHRpdGxlPlRpdGxlPC90aXRsZT4KPC9oZWFkPgoKPGJvZHk+Cjxmb3JtIG1ldGhvZD0iUE9TVCIgYWN0aW9uPSIjIiBuYW1lPSJ1c2VyIj4KPGlucHV0IHR5cGU9ImNoZWNrYm94IiBvbkJsdXI9ImFsZXJ0KCdjaGsgYWxlcnQxJyk7IiBuYW1lPSJzdW4xIj4KPGJyPjxicj4KPGlucHV0IHR5cGU9ImNoZWNrYm94IiBvbkJsdXI9ImFsZXJ0KCdjaGsgYWxlcnQyJyk7IiBuYW1lPSJzdW4yIj4KPGJyPjxicj4KPGlucHV0IHR5cGU9InRleHQiIG9uQmx1cj0iYWxlcnQoJ3RleHQgYWxlcnQzJyk7IiBuYW1lPSJzdW4zIj4KPGJyPjxicj4KPGlucHV0IHR5cGU9InJhZGlvIiBvbkJsdXI9ImFsZXJ0KCdyYWRpbyBhbGVydDQnKTsiIG5hbWU9InN1bjQiPgo8YnI+CjxpbnB1dCB0eXBlPSJyYWRpbyIgb25CbHVyPSJhbGVydCgncmFkaW8gYWxlcnQ1Jyk7IiBuYW1lPSJzdW40Ij4KPC9mb3JtPgo8L2JvZHk+CjwvaHRtbD4=