locked
Jqurey RRS feed

  • Question

  • dears ,

    i want to ask if the dynamic crm support jquery functionality.

    i have the following example:

    i have a text field called new_date i want by using jquery to apply a jquery function to be a date picker by using the jquery file jquery-1.12.4.js.


    i create a java script file and put the following script:

     $(document).ready(function () {

        smsm= function () {

        //var now = new Date();
      //   Xrm.Page.getAttribute("new_date").setValue("txt2");
           $("#new_date").datepicker();

               }

        
    });

     

    i have the jqury file import within the form but i have the error :  that object does not support property or method .datepicker

     

    and i put them between <script> </script>  have the error the function smsm is undefined at eval code
    Tuesday, November 29, 2016 9:09 AM

All replies