IE version : 6.0.29000.5512.xpsp_sp3_gdr.080814-1236

What do you think is showed on IE alert window with following code ???
Both are "[Object]" !!!

If you think to fix it is necessary, Hope you to update  prototype.js,
 or tell the author to update!

<script src="prototype-" language="JavaScript" type="text/
javascript" ></script>
if (/msie/i.test (navigator.userAgent)){
    document.nativeGetElementById = document.getElementById;
    document.getElementById = function(id){
        var elem = document.nativeGetElementById(id);
            if(elem.attributes['id'].value == id){
                return elem;
                for(var i=1;i<document.all[id].length;i++){
                    if(document.all[id][i].attributes['id'].value ==
id) {
                        return document.all[id][i];
        return null;
function load(){
        var ele = null;
        ele = document.getElementById("sex");
        ele = null;
        ele = $("sex");
<body onload="load()">
        <select name="sex">
                        <option value="0">boy</option>
                        <option value="1">gril</option>


You received this message because you are subscribed to the Google Groups 
"Prototype &" group.
To post to this group, send email to
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at

Reply via email to