I have javascript firing from an onclick event:
the script:
<script type="text/javascript">
function showAlert(cForm){
alert("test");
document.cForm.getElementById('text7').value = "C:\\testagain123.rtf"
}
I get the error that 'document.cForm' is not an object or is null. If I take out the document part I get a message that Object does not support this property or method.
the script:
<script type="text/javascript">
function showAlert(cForm){
alert("test");
document.cForm.getElementById('text7').value = "C:\\testagain123.rtf"
}
I get the error that 'document.cForm' is not an object or is null. If I take out the document part I get a message that Object does not support this property or method.