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 Automate / Error after run javasc...
Power Automate
Unanswered

Error after run javascript function on web page

(0) ShareShare
ReportReport
Posted on by 18

Dear all,

 

I create a simple flow to 1. open a webpage 2. select/unselect designated checkbox by run javascript. After this, I expect table under the checkbox will be interacted with the checkbox result.

 

Below is the destination page (http://live.nowscore.com/analysis/2135762cn.html), I creat a flow to unselect the checkbox in red circle. Once unselect, I expect data in below table with the same legend will also disabled or disappear. 

frankwent_0-1663603348985.png

Below is my flow, 2 steps flow very simple. and my js code as 

frankwent_1-1663603557144.png

frankwent_2-1663603582644.png

However, after I run the flow, the checkbox is unselected, but the data in below table not filtered. 

frankwent_3-1663603648302.png

 

and I have chrome error as 

frankwent_4-1663603676441.png

 

could please someone help? Many thanks!

 

  

I have the same question (0)
  • VJR Profile Picture
    7,635 on at

    Instead of clicking also try the actual way to check/uncheck.

     

    // Check
    document.getElementById("checkbox").checked = true;
    
    // Uncheck
    document.getElementById("checkbox").checked = false; 
  • frankwent Profile Picture
    18 on at

    Thanks VJR, your solution provide the same function to check/uncheck a checkbox. However, the data which interact with the checkbox still keep the same and not affected. seems not the right solution. 

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 June Top 10 Community Leaders!

These are the community rock stars!

Leaderboard > Power Automate

#1
David_MA Profile Picture

David_MA 248 Super User 2026 Season 1

#2
11manish Profile Picture

11manish 204

#3
Haque Profile Picture

Haque 179

Last 30 days Overall leaderboard