I have a strange problem : I have a search form which I display in a tab in the center pane. I use it to search stuff and display the results in a tab in the west pane.
This works fine.
Now I decided to add a small input input field just below the menu of the north pane, to do the same (searching stuff and displaying it in the west pane) :
<div id="menuBarContainer"><div id="innerDiv"></div><div id="rightDiv"></div></div>
<form name="searchForm">
<input type="text" name="search" id="search" size="30" maxlength="50">
<input type="button" class="ygrp-button" onclick="formObj.submit()" value="ok">
</form>
</div>
<script type="text/javascript">
var formObj = new DHTMLSuite.form({ formRef:'searchForm',action:'search.php',responseEl:'searchResults' });
</script>
The thing is, I get an error with the Web developer when I try to use it :
Error: els has no properties
Source File: http://www.mysite.com/project/js/dhtml- ... omments.js
Line: 848
But the same code in the center pane doesn't generate this error.
Thanks for your help