2 Replies Latest reply: Jan 9, 2012 12:08 AM by 596581 RSS

    Cursor not focusing in the text field after Object tag load in IE

    596581
      Hi,

      We have an applets class "ABC.class" in our application. To include this class in a jsp page we are using OBJECT tag. This tag is written inside a if block in the jsp page. Based on the if condition this OBJECT tag has to be loaded. Below is the code we are using:


      <%

      if(testCondition)
      {

      %>

      <OBJECT classid="clsid:8AD9C840-044E-11D1-B3E9-00805F499D93" NAME="applet" width="0" height="0">
      <PARAM NAME="CODE" VALUE="ABC.class" >
      <input type="hidden" id='myText' value="Please configure the jinitiator version to Oracle applicaitons Jinitiator version." >
      No JDK 1.3 support for APPLET!!
      </OBJECT>

      <%

      }

      %>

      In the above code if the "if condition" is satisfying, then cursor is not focusing on the required field. The code to focus on the field is written in the javascript function which is called onLoading the page.

      we are using IE 7 and IE8. In IE 7 sometimes working fine but in IE 8 we are getting this issue.

      Can anyone please help us how to focus the cursor on the required field even in the case of the Object tag loading.

      Thanks,
      Eswari