0 Replies Latest reply: Jul 3, 2013 9:35 AM by 716769 RSS

    Set focus on mobile theme

    716769

      I'm developing an application on apex 4.2.2 using theme jQuery Mobile Smartphone 50.

      I tryed to put and execute javascript function to set focus on a page item without success.

      The page starts to load but it doesn't complete it.

      No errors occurs.

       

      This is the code on

       

      <script language="JavaScript" type="text/javascript">

      <!--

      function setFocus(PageItem){

          document.getElementById(PageItem).focus();

      }

      //-->

      </script>

       

      and this is the call on Execute When Page Loads

      javascript:"setFocus('P1_PRODUCT_ID');"

       

      Any ideia?