1

Resolved

Error while performing search

description

Getting the following error
Microsoft JScript runtime error: 'document.getElementById(...)' is null or not an object
on the below mentioned line
<span id="GoogleCustomControl1__labelSearch">Search for: </span><span> </span><input name="GoogleCustomControl1$_textBoxSearch" type="text" id="GoogleCustomControl1__textBoxSearch" onkeydown="if(event.which || event.keyCode){if ((event.which == 13) || (event.keyCode == 13)) {document.getElementById('GoogleCustomControl1$_buttonSearch').click();return false;}} else {return true}; " /><span> </span><input type="submit" name="GoogleCustomControl1$_buttonSearch" value="Search" id="GoogleCustomControl1__buttonSearch" />

comments

melg wrote Mar 11, 2010 at 8:55 AM

Thanks for the report.
In the generated scrript the UniqueID property was used instead of the ClientID property.

This has been fixed and a new version has been released

wrote Feb 13, 2013 at 2:36 AM

wrote May 15, 2013 at 10:35 PM

wrote May 15, 2013 at 10:35 PM

wrote Jun 14, 2013 at 7:26 AM