web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

issue about drow-down select box

(0) ShareShare
ReportReport
Posted on by 650

i changed the value of  drow-down select box in javascript, but after i saved, the value was not changed, but when i changed it by manual, it can be saved.

 

anyone can help me? thanks.

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Community Member Profile Picture
    on at

    Be sure you're using the CRM 2011 sdk to set the attribute value to the option's integer (not text) value:

    Xrm.Page.data.entity.attributes.get("new_optionset_attribute").setValue(1);

  • king Profile Picture
    650 on at

    i used jQuery library...

  • Suggested answer
    Community Member Profile Picture
    on at

    Use the SDK.

    msdn.microsoft.com/.../gg328261.aspx

    Do not use jQuery to interact with Microsoft Dynamics CRM 2011 forms. Use the Xrm.Page object model methods to access form elements.

    The only supported use of jQuery in the Microsoft Dynamics CRM 2011 and Microsoft Dynamics CRM Online web application is to use the jQuery.ajax method to retrieve data from the REST endpoint. For more information, see Using jQuery. Using jQuery to modify Microsoft Dynamics CRM 2011 application pages or forms is not supported. You may use jQuery within your own HTML web resource pages.

  • king Profile Picture
    650 on at

    thanks Scott..

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Introducing the 2026 Season 1 community Super Users

Congratulations to our 2026 Super Stars!

Meet the Microsoft Dynamics 365 Contact Center Champions

We are thrilled to have these Champions in our Community!

Congratulations to the April Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans