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

Notifications

Announcements

Community site session details

Community site session details

Session Id :
Power Platform Community / Forums / Power Apps / Anyone know of a way t...
Power Apps
Unanswered

Anyone know of a way to get the span click from an HTML text control?

(0) ShareShare
ReportReport
Posted on by 455
Greetings, community. I have a scenario where I'd like to display a popup containing data based on a word a person clicks in an HTML text control. Here's a "hacked" demo of what I'd love to be able to accomplish dynamically with HTML text in Power Apps:
 
 
Here's an example of the basic HTML code I am showing above:
 
"This is some sample text. This is the <span id = 1><b><font color=blue>word</font></b></span> that I want to trigger a popup. This is another <span id = 2><b><font color=blue>term</font></b></span>."
 
I know in the world of HTML and JavaScript that you can do this by triggering an OnClick event and passing in the ID from something like a span, but I'm super curious to know if anyone has a way to do this in native Power Apps or a super basic component.
I have the same question (0)

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

Forum hierarchy changes are complete!

In our never-ending quest to improve we are simplifying the forum hierarchy…

Ajay Kumar Gannamaneni – Community Spotlight

We are honored to recognize Ajay Kumar Gannamaneni as our Community Spotlight for December…

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 739 Most Valuable Professional

#2
Michael E. Gernaey Profile Picture

Michael E. Gernaey 343 Super User 2025 Season 2

#3
Power Platform 1919 Profile Picture

Power Platform 1919 268

Last 30 days Overall leaderboard