Hello, I'm developing the ajax search script. it's the simple code, I get javascript error. I can't see the error! And I don't understand why I have an error here:
<script>
var keywords = document.advanced_search.keywords.value;
alert(keywords);
</script>
<form name="advanced_search">
<input name="keywords" type="text" value="213123">
</form>
JavaScript error : 'document.advanced_search.keywords', null or not the object.