Loading...

Unable to set DropDown value using JQuery

Unable to set DropDown value using JQuery

  • This topic is empty.
Viewing 0 reply threads
  • Author
    Posts
    • #4535
      Anonymous
      Anonymous
      Participant

      We have a requirement to setup a dropdown value onclick of the custom action button, we have written JQuery script to achieve this. Onclick of the button the value set in the qlistForm, however the value is not saving to the list. The field is empty when we again open the same record. Below is the script we are using,

      n

      <script language=”javascript” type=”text/javascript”>

      n

      $(document).ready(function(){

      n

      $(‘.rmText’).filter(function(){ return $(this).text() ==”ManagerApprove” }).click(function() {

      n

      $(“input[title=’DropDownChoice’]”).val(‘Approved’);

      n

      });

      n

      });

      n

      </script>

      n

      Note: This problem is not in OOTB forms.

      n

       

      n

      Thanks in Advance..

Viewing 0 reply threads

You must be logged in to reply to this topic.