JavaScript/ Jquery Reference for Microsoft Dynamics CRM Portal (formerly AdxStudio)
//Get value of field from current page var name = $( '#new_name' ).val(); //Find the checkbox value $( '#new_arepartsreplaced' ).is( ":checked" ); //Get value of field from parent page var WorkOrder = $( '#msdyn_name' , window .parent. document )[ 0 ].value; //Get record id from url of parent page var WOId = window .parent.location.href.substr( window .parent.location.href.indexOf( "?id" ) + 4 ); //Get Picklist value from parent page var Status = $($( '#new_status' , window .parent. document )[ 0 ]).find( "option:selected" ).prop( "value" ); //Disable DateTime Field $( "#msdyn_timetopromised_description" ).parent().find( '.form-control' ).prop( 'disabled' , true ); $( "#msdyn_timetopromised" ).parent().find( '.input-group-addon' ).hide(); //Disable Lookup $( "#new_workorder" ).prop( 'disabled'...