Loading...

focus issue with Quest Web Part

focus issue with Quest Web Part

  • This topic is empty.
Viewing 1 reply thread
  • Author
    Posts
    • #4198
      Anonymous
      Anonymous
      Participant

      Hi Experts, 

      I am facing a weird issue with quest web part. I have created a quest web part on SharePoint page. This  web part have quest web part and HTML drop down control. On page load, we wanted to persist the set focus on HTML drop down control but it is not working.     

      We have focus issue on Quest Web Part(New Form).  I am setting focus to dropdown(html) but no luck. I have used the below code to set the focus. After Page loads completely focus gets lost.  We tried following code to set focus

      <script language=”javascript” src=”/sites/CARTS/ScriptResources/jquery-1.4.2.min.js”>

      </script>

      <script type=”text/javascript”>

      $(window).load(function () {  document.getElementById(“dd_country”).focus();});

      </script> 

      Any help would be highly appreciated.

      Thanks,Aadya

    • #5246
      Anonymous
      Anonymous
      Participant

      Hi Aadya,

        Sorry for the late response.

      Is the html dropdown control on a qListForm or is on a different web part that sits on the same page with a qListForm?

      If the dropdown control is on a qListForm then the id would look like this

      ctl00_m_g_4d76b6e1_a09d_482b_8203_a410db7ecd89_Priority.

Viewing 1 reply thread

You must be logged in to reply to this topic.