If I'm typing a searchstring in searchfield an then push the button search, a scripterror is shown.
document.forms.frmSearch.a is Null or no Object
Line: 2
Character: 4
Here jsfunctions.js:
function RunSearch()
{
document.forms.frmSearch.a.value = 'search'; document.forms.frmSearch.SearchFor.value = document.getElementById('ctlSearchFor').value;
if(document.getElementById('ctlSearchField')!=undefined)
document.forms.frmSearch.SearchField.value = document.getElementById('ctlSearchField').options[document.getElementById('ctlSearchField').selectedIndex].value;
if(document.getElementById('ctlSearchOption')!=undefined)
document.forms.frmSearch.SearchOption.value = document.getElementById('ctlSearchOption').options[document.getElementById('ctlSearchOption').selectedIndex].value;
else
document.forms.frmSearch.SearchOption.value = "Contains";
document.forms.frmSearch.submit();
}
Also "show all" generates an error
frmSearch.a is Null or no Object
Line: 170
Character: 2
How can I fix that Problem?
Rgds
Uwe Loyal