function enterSubmits(eventObj, obj)
// Check For Browser Type
if(keyCode==10 || keyCode == 13) // CR/LF
This would work perfect on an onkeypress but this is what I have a stupid control like so:
<customer:usercontrol id="L_SR_searchType" CssClass="box" runat="Server" />
the HTML code generates like so if I look at the source
<input name="L_SR_searchType:textValue" type="text" value="1004434" id="L_SR_searchType_textValue" class="box" />
Is there a way to handle this somehow without changing the code behind. For example, if I use a regular textbox and then place an onkeypress it works fine, its this damn control giving me the problem. Here is an example of what does work fine but I have to use this control because its referenced in the code behind for things.