7079
10-11-2006, 07:58 PM
<script type="text/javascript">
<!--
var shortcut=document.myForm;
var descriptions=new Array();
//loop through with CF and add descriptions to array
descriptions[0]="Template Descriptions Area"
descriptions[1]="This letter gives them the idea that you are a polite well mannered person"
descriptions[2]="This letter give them the idea that they will be dealing with a major A** HOLE"
shortcut.TemplateDescription.value=descriptions[shortcut.TemplateID.selectedIndex]
function showtext(){
shortcut.TemplateDescription.value=descriptions[shortcut.TemplateID.selectedIndex]
}
//-->
</script>
I get a message that says: Done, but with errors on page
The error is: 'shortcut.TemplateDescription' is null or not an object
Please tell me what the problem is, I cannot for the life of me figure it out.
Thank you in advance!
<!--
var shortcut=document.myForm;
var descriptions=new Array();
//loop through with CF and add descriptions to array
descriptions[0]="Template Descriptions Area"
descriptions[1]="This letter gives them the idea that you are a polite well mannered person"
descriptions[2]="This letter give them the idea that they will be dealing with a major A** HOLE"
shortcut.TemplateDescription.value=descriptions[shortcut.TemplateID.selectedIndex]
function showtext(){
shortcut.TemplateDescription.value=descriptions[shortcut.TemplateID.selectedIndex]
}
//-->
</script>
I get a message that says: Done, but with errors on page
The error is: 'shortcut.TemplateDescription' is null or not an object
Please tell me what the problem is, I cannot for the life of me figure it out.
Thank you in advance!