I wrote a js function to hide rows in a table based on some criteria,
I tested the code offline on local files and it worked properly with no errors
I implemented the same code in confluence page and it doesn't even work. I am sure my code is not the problem because it worked offline on a downloaded version of the confluence page and a simple html table I made before.
This is my code:
```
```
When using a debugger I noticed all lines are executed but their effects don't always happen.
I am 100% sure the problem isnt with my code
Hello @ahmad ,
Could you please clarify how you inject the code into the Confluence page?
If you use out-of-the-box HTML macro, then you can use <script> tag to apply the code and if you use JS in the plugin modules it should be inside AJS.toinit() and so on.
Want to leave your mark on Confluence? One winner will have their whiteboard design added into Confluence for all users to access! This is your chance to showcase your creativity, help others, and gain recognition in the Confluence community.
Share your template today!Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.