Quantcast
Channel: Microsoft Dynamics CRM Forum - Recent Threads
Viewing all articles
Browse latest Browse all 46379

Jquery

$
0
0

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_i").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


Viewing all articles
Browse latest Browse all 46379

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>