Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics CRM (Archived)

onclick on a jquery note button

Posted on by Microsoft Employee


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

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: onclick on a jquery note button


    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.

  • Suggested answer
    a33ik Profile Picture
    a33ik 84,323 Most Valuable Professional on at
    RE: onclick on a jquery note button

    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?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans