Note that there are some explanatory texts on larger screens.

plurals
  1. POBrowser Independence issue Code Working for IE but not for Firefox and Chrome
    text
    copied!<p>if i run the same code for IE every thing is fine i am getting the value of selectedId where as for firefox and chrome it is giving values Undefine. </p> <pre><code>----------------- code ------------------------------- &lt;html&gt; &lt;head&gt; &lt;script type="text/javascript"&gt; function createSelected() { var value; var theForm = document.hell; for (var i = 0; i &lt; theForm.length; i++) { var e = theForm.elements[i]; if ((e.type == "hidden") &amp;&amp; (e.value == "false")) { console.log("the value of selected IDS="+e.selectedId); if (e.selectedId!= undefined ) { Value = ", "+e.selectedId; } } } console.log( Value); } &lt;/script&gt; &lt;/head&gt; &lt;body&gt; &lt;form name="hell"&gt; &lt;h1&gt;This working only with IE not with FireFox and Crome &lt;/h1&gt; &lt;br/&gt; &lt;br/&gt; &lt;input type="hidden" selectedId="heyya1" name="item1" value="false"&gt;h1&lt;/input&gt; &lt;input type="hidden" selectedId="heyya2" name="item2" value="false"&gt;h2&lt;/input&gt; &lt;input type="hidden" selectedId="heyya3" name="item3" value="false"&gt;h3&lt;/input&gt; &lt;input type="hidden" selectedId="heyya4" name="item4" value="false"&gt;h4&lt;/input&gt; &lt;input type="hidden" selectedId="heyya5" name="item5" value="false"&gt;h5&lt;/input&gt; &lt;input type="hidden" selectedId="heyya6" name="item6" value="false"&gt;h6&lt;/input&gt; &lt;input type="button" onclick=createSelected() value="find the values"&gt;&lt;/input&gt; &lt;/form&gt; &lt;/body&gt; ---------------------------code end----------------------------------------- </code></pre> <p>please help in in this why cant we use other parameter( like Selectedid inside HTML tag) in FireFox like we can do it in IE.</p> <p>thanks in advance.. </p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload