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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics CRM (Archived)

Get alert message by clicking the button in iframe

(0) ShareShare
ReportReport
Posted on by 262

Hi,

I have a form. When i press a button which is in this form, an iframe apperas. In this ifraem there is a button. When the button which is in this iframe is clicked, i wanto to show to the user an alert() mesaage.

How can i do this by using javascript?.

Can anyone help me please?

iframe_5F00_button.jpg

*This post is locked for comments

I have the same question (0)
  • Suggested answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hi Muharrem,

    You can modify the code behind your iframe and add an onclick event - see www.w3schools.com/.../event_onclick.asp

    To display an alert you can call alert('your text here')

    Hope this helps

    Radu

  • altun8tr Profile Picture
    262 on at

    Hi, How can i find the ifram and change its code? Can you help me please?

    iframe.jpg

  • Verified answer
    Radu Chiribelea Profile Picture
    6,667 on at

    Hi Muharrem,

    The language confused me. I thought that was a custom IFrame but looking at the code behind it it seems an out of the box one. You can't customize that i'm afraid.

    You would have to create your own case close dialog / functionality (create a custom button in the ribbon that opens a custom iframe and that closes the case incident and displays your alert) if you want to add custom logic.

    Sorry for bringing the bad news.

    Regards,

    Radu

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics CRM (Archived)

#1
SA-08121319-0 Profile Picture

SA-08121319-0 4

#1
Calum MacFarlane Profile Picture

Calum MacFarlane 4

#3
Alex Fun Wei Jie Profile Picture

Alex Fun Wei Jie 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans