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

Announcements

News and Announcements icon
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 466
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Kudos to our 2025 Community Spotlight Honorees

Expanding mentorship, skilling, and AI innovation

Congratulations to the July Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Apps

#1
WarrenBelz Profile Picture

WarrenBelz 345 Most Valuable Professional

#2
11manish Profile Picture

11manish 207 Super User 2026 Season 2

#3
Mohsin Ali Profile Picture

Mohsin Ali 177

Last 30 days Overall leaderboard