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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.