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)

onclick on a jquery note button

(0) ShareShare
ReportReport
Posted on by


hello experts,

I have a doubt.

I am trying to capture the value of this event through the Id, but it does not work for me. This is my code

$(document).ready(function () {


    $("#postButton").on("click", function () {

        alert("probando boton");
    });

});

capturarboton.png

- I already import the jquery liberia and I put it first when loading the document, also validate that it is working because I made an alert in the document.ready

any answer is very helpful.
Thank you very much



*This post is locked for comments

I have the same question (0)
  • Suggested answer
    a33ik Profile Picture
    84,331 Most Valuable Professional on at

    Hello,

    What you're doing is unsupported and unrecommended customization and my advice is to change the approach you want to achieve your goal. I'm curious - what's your goal?

  • Community Member Profile Picture
    on at


    What I am trying to do is that when I have attaching a document in the note. hide the options to attach, I already have the whole function, I just need to activate it every time I click on that button.

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 March Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
JS-09031509-0 Profile Picture

JS-09031509-0 3

#2
AS-17030037-0 Profile Picture

AS-17030037-0 2

#2
Mark Eckert Profile Picture

Mark Eckert 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans