jeathrow
11-02-2006, 11:23 AM
Hello everyone, I found this script on the internet, and is pretty damn amazing. What ever you type in, it automatically gets stored in the notepads.
But when I used the code, I get an error box message saying "processXMLDoc : Unknown"
I plan to use it for my college website, but I have no clue as to what to do to fix it.
Following is the code:
First the index.htm
<html>
<head>
<meta name='keywords' content='Web,JavaScript,Scratch,Pad,Note'>
<script language="JavaScript" src="AJAXRequest.js"></script>
<script language="JavaScript" src="ScratchPad.js"></script>
<style type='text/css'>
body {
font-family: Arial, Verdona, Helvetica;
font-size: 11pt;
}
</style>
</head>
<body>
Instructions: Press the <b>Add</b> button to create a new scratch pad. Use <b>Show All</b> to show scratch pads you had previously hidden<br>
using the menu provided. System automatically handles saving entries.<br><br>
<input onclick="javascript: addSP('', event);" value="Add" type="button">
<input type='button' value='Show All' onclick="javascript: unhideSPs();">
</body>
</html>
Next, the AJAXRequest.js
http://www.b3ta.cr3ation.co.uk/data/js/AJAXRequest.js
And the scratchpad.js
http://www.b3ta.cr3ation.co.uk/data/js/ScratchPad.js
I get an error box message saying "processXMLDoc : Unknown"
I presume that might be related to AJAXRequest.js, maybe somewhere in the following code:
* <body onload="req.loadXMLDoc('http://localhost/MonkeySite/workerPage.cfm?theAge=41');">
What should I do to fix the error? HELP!
thanks in advance.. Jeathrow
But when I used the code, I get an error box message saying "processXMLDoc : Unknown"
I plan to use it for my college website, but I have no clue as to what to do to fix it.
Following is the code:
First the index.htm
<html>
<head>
<meta name='keywords' content='Web,JavaScript,Scratch,Pad,Note'>
<script language="JavaScript" src="AJAXRequest.js"></script>
<script language="JavaScript" src="ScratchPad.js"></script>
<style type='text/css'>
body {
font-family: Arial, Verdona, Helvetica;
font-size: 11pt;
}
</style>
</head>
<body>
Instructions: Press the <b>Add</b> button to create a new scratch pad. Use <b>Show All</b> to show scratch pads you had previously hidden<br>
using the menu provided. System automatically handles saving entries.<br><br>
<input onclick="javascript: addSP('', event);" value="Add" type="button">
<input type='button' value='Show All' onclick="javascript: unhideSPs();">
</body>
</html>
Next, the AJAXRequest.js
http://www.b3ta.cr3ation.co.uk/data/js/AJAXRequest.js
And the scratchpad.js
http://www.b3ta.cr3ation.co.uk/data/js/ScratchPad.js
I get an error box message saying "processXMLDoc : Unknown"
I presume that might be related to AJAXRequest.js, maybe somewhere in the following code:
* <body onload="req.loadXMLDoc('http://localhost/MonkeySite/workerPage.cfm?theAge=41');">
What should I do to fix the error? HELP!
thanks in advance.. Jeathrow