PASSWORD type and IE 8

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

PASSWORD type and IE 8

S.Hage
Hi there,

  Can someone tell me why this code work perfectly on Firefox and not work on IE 8:

        var innerTblnewRow = otBody.insertRow(-1);
        var oTd=innerTblnewRow.appendChild(document.createElement("td"));
        var oText = oTd.appendChild (document.createTextNode("${uiLabelMap.CommonPassword}"));
        var oTd=innerTblnewRow.appendChild(document.createElement("td"));
        var oInput=oTd.appendChild(document.createElement("input"));
        with(oInput){
        className="required";
                type="PASSWORD";
                name="CONFIRM_PASSWORD_" + iAuthorizedPersonCounter;
                id="CONFIRM_PASSWORD_" + iAuthorizedPersonCounter;
                size="16";
                maxLength="250";
        }

If I change the TYPE from PASSWORD to TEXT, the code work with IE 8.

Any help is appreciated.

thanks in advance

S. Hage
Reply | Threaded
Open this post in threaded view
|

Re: PASSWORD type and IE 8

Jacques Le Roux
Administrator
Please use rather user ML for such questions, see why here :
http://docs.ofbiz.org/x/yAk#MailingLists-DesignanddevelopmentList:dev@...

Thanks

Jacques

From: "S. Hage" <[hidden email]>

>
> Hi there,
>
>  Can someone tell me why this code work perfectly on Firefox and not work
> on IE 8:
>
> var innerTblnewRow = otBody.insertRow(-1);
> var oTd=innerTblnewRow.appendChild(document.createElement("td"));
> var oText = oTd.appendChild
> (document.createTextNode("${uiLabelMap.CommonPassword}"));
> var oTd=innerTblnewRow.appendChild(document.createElement("td"));
> var oInput=oTd.appendChild(document.createElement("input"));
> with(oInput){
>        className="required";
> type="PASSWORD";
> name="CONFIRM_PASSWORD_" + iAuthorizedPersonCounter;
> id="CONFIRM_PASSWORD_" + iAuthorizedPersonCounter;
> size="16";
> maxLength="250";
> }
>
> If I change the TYPE from PASSWORD to TEXT, the code work with IE 8.
>
> Any help is appreciated.
>
> thanks in advance
>
> S. Hage
> --
> View this message in context: http://www.nabble.com/PASSWORD-type-and-IE-8-tp24999899p24999899.html
> Sent from the OFBiz - Dev mailing list archive at Nabble.com.
>