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

Community site session details

Session Id :
Customer Service forum

Lookup field on portal page not firing the custom javascript event

(0) ShareShare
ReportReport
Posted on by

Hi,

On the profile page we need some customizations. On changing the value of look up field of preference language(out of box entity) we need a modal or overlay to be displayed with terms and conditions according to the language selected.

I tried to fire an event for this with below code

$('#adx_preferredlanguageid_name').change(alert("hi"));
I am getting alert box on page load, but later on changing value in the field it is not triggering. Can some one help?
Also if possible please suggest any idea how can i display the terms and conditions modal with localized content on change of language lookup.
Thanks in advance!!
Categories:
I have the same question (0)
  • Suggested answer
    Community Member Profile Picture
    on at
    RE: Lookup field on portal page not firing the custom javascript event

    Try:

    $('#adx_preferredlanguageid').change(function() {

       alert("hi");

    });

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

November Spotlight Star - Khushbu Rajvi

Congratulations to a top community star!

Forum Structure Changes Coming on 11/8!

In our never-ending quest to help the Dynamics 365 Community members get answers faster …

Dynamics 365 Community Platform update – Oct 28

Welcome to the next edition of the Community Platform Update. This is a status …

Leaderboard > Customer Service

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans