Details
-
Type: Bug
-
Status: Closed
-
Priority: Major
-
Resolution: Fixed
-
Affects Version/s: 1.8
-
Fix Version/s: 1.8.1
-
Component/s: ICE-Components
-
Labels:None
-
Environment:FF 3.0.8, IE7
Description
<ice:form>
<ice:inputText id="idWhereLocationTextBox" styleClass="inputTextBox width90"
value="#{myBean.whereLocation}"
onfocus="javascript:clearTxt(this.id);"
onblur="javascript:getTxt(this.id);"/>
</ice:form
and
<script>
function clearTxt(varI){
alert('onFocus:' + varI);
}
function getTxt(varI) {
alert('onBlur:' + varI);
}
</script>
In Firefox 3.0.8, the alert will return "onFocus:undefined" and in IE7 "onFocus j_id11" which is the ID of the form tag.
<ice:inputText id="idWhereLocationTextBox" styleClass="inputTextBox width90"
value="#{myBean.whereLocation}"
onfocus="javascript:clearTxt(this.id);"
onblur="javascript:getTxt(this.id);"/>
</ice:form
and
<script>
function clearTxt(varI){
alert('onFocus:' + varI);
}
function getTxt(varI) {
alert('onBlur:' + varI);
}
</script>
In Firefox 3.0.8, the alert will return "onFocus:undefined" and in IE7 "onFocus j_id11" which is the ID of the form tag.
Activity
- All
- Comments
- History
- Activity
- Remote Attachments
- Subversion