Help fixing script.
Hello!
I need some help in fixing a scrip, please.
To be honest my intent is to use you to help fix my script and leave.
I am nothing if not honest!
I am basically an idiot who knows nothing but I am trying to make up a web based data form that will save my text.
I am getting a script error and I have no idea how to fix it. ( Hence my idiot label!)
..............
An error has occurred in the script on this page
Line: 1
Char: 1
Error: Object expected
Code: 0
..............
This is the script I am trying to set up.
It is a text box kind of form that will auto save any input.
I want to use it for a breeding database if I can.
..............
<p><!--webbot bot="HTMLMarkup" startspan --><form method="get" action="saveForm.html" onsubmit="return false;">
<table>
<tr><th>Name:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Number:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Variety:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Sex:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Size:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Age:</th><td><input type="text" name="a" value="Input"></td></tr>
<tr><th>Textarea:</th><td><textarea name="k" rows="3" cols="20">Input</textarea></td></tr><!--webbot
bot="HTMLMarkup" endspan -->
<!--webbot bot="HTMLMarkup" startspan --><script type="text/javascript">
window.setInterval('setCookie(\'inpVal\',getFormSt ring(document.forms.myForm,true));',6000);
</script><!--webbot bot="HTMLMarkup" endspan -->
</p>
..............
I can't post the URL where I am testing it.
Any help would be great!
I am sorry I am only using you.
Best regard
Bindi.
|