| Code: |
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"> </head> <script> function cekmenu() { document.getElementById('isidel').innerHTML=' Delete Topic <select name="delmenu" class="textbox">'; alert(document.getElementById('isidel').innerHTML); } </script> <body onLoad="cekmenu();" > <div id="isidel"> </div> </form> </body> </html> |
paste above script, and save as html, and open it with Internet Explorer
look at the alert box, where </select> come from ?
it took me 3 days for find this kind of error --"
but it;s work on Opera, but this IE glek..
