Opened 12 years ago

Closed 11 years ago

Last modified 11 years ago

#3494 closed defect (wontfix)

While ruunning in IE6 getting this error --DEBUG: dojo.widget.Parse: error:[object Error]

Reported by: guest Owned by:
Priority: high Milestone:
Component: Offline Version: 0.4.2rc1
Keywords: Cc:
Blocked By: Blocking:

Description

I have written this code--

<!DOCTYPE html PUBLIC "-W3CDTD XHTML 1.0 StrictEN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html>

<head>

<title>Dojo Tutorial</title>

<script type="text/javascript">

var djConfig = { isDebug: true, debugAtAllCosts: true };

</script>

<script type="text/javascript" src="C:BoliarDOJOdojo-0.4.0-kitchen_sinkdojo.js"></script>

<script type="text/javascript">

dojo.require("dojo.event.*"); dojo.require("dojo.widget.*");

</script>

<script type="text/javascript">

function go()

{

dojo.event.connect(dojo.widget.byId("ssnText"), "onblur", "checkSSN"); dojo.event.connect(dojo.widget.byId("zipText"), "onblur", "checkZip"); dojo.event.connect(dojo.widget.byId("phoneText"), "onblur", "checkPhone");

} dojo.addOnLoad(go);

</script>

<script type="text/javascript"> function checkSSN { var ssn=dojo.widget.byId("ssnText").value; var ssnLength=ssn.length; var charat3=ssn.charAt(3); var charat6=ssn.charAt(6);

if(ssnLength!=11
charat3!='-' charat6!='-')

alert("This ssn number is not correct.");

for(var i=0; i<3; i++) { if(isDigit(ssn.charAt(i))==false) alert("The ssn number should be in digit."); }

for(var i=4; i<6; i++) { if(isDigit(ssn.charAt(i))==false) alert("The ssn number should be in digit."); }

for(var i=7; i<11; i++) { if(isDigit(ssn.charAt(i))==false) alert("The ssn number should be in digit."); }

}

function checkZip() { ---------------------------------------------------- }

function checkPhone() { ---------------------------------------------------- }

</script>

<script type="text/javascript">

dojo.require("dojo.event.*"); dojo.require("dojo.widget.*"); dojo.hostenv.writeIncludes();

</script>

</head>

<body>

<!-- SSN:<input dojoType = “Textbox” id = “ssnText”> <br> ZIP:<input dojoType = “Textbox” id = “zipText”> <br> Phone:<input dojoType = “Textbox” id = “phoneText”> <br> <input type = "button" id = “formatBtn” value="Format"> <input type = "button" id = “reformatBtn” value="Reformat"> -->

<!-- <div dojoType = “Textbox” id = “ssnText”></div>

<div dojoType = “Button” id = “formatBtn”></div> <div dojoType = “Button” id = “reformatBtn”></div> --> SSN:<input Type = "text" id = "ssnText"></div> <br> ZIP:<input Type = "text" id = "zipText"></div> <br> Phone:<input Type = "text" id = "phoneText"></div> <br>

<button dojoType="Button" id="format"> Format</button> <button dojoType="Button" id="reformat"> Reformat</button>

</body>

</html>

While running with the textboxes and buttons I am getting this two lines also DEBUG: dojo.widget.Parse: error:[object Error] DEBUG: dojo.widget.Parse: error:[object Error]

Change History (3)

comment:1 Changed 12 years ago by bradneuberg

Owner: bradneuberg deleted

Incorrect bug assignment.

comment:2 Changed 11 years ago by Adam Peller

Resolution: wontfix
Status: newclosed

try the legacy forum for support

comment:3 Changed 11 years ago by (none)

Milestone: 0.4

Milestone 0.4 deleted

Note: See TracTickets for help on using tickets.