Hello Guys,
A basic question, I created a Table in my page, and I want to HIDE a ROW by default in JAVASCRIPT cause I will add afterwards conditions. The problem is: my row is never HIDDEN but only INVISIBLE. Consequently, the others rows below never take place of the HIDDEN row. I don't see anything wrong in my code. Could you please have a look on it:
The row is always here, invisible but NOT hidden:
Best regards,
RR.
Topics help categorize Community content and increase your ability to discover relevant content.
Views
Replies
Total Likes
did you try display attribute?
// Hide a table row
document.getElementById("myRow").style.display = "none";
// Show a table row
document.getElementById("myRow").style.display = "table-row";
// Remove a table row
document.getElementById("myRow").remove();
Thank you for reply.
I saw that in Master Pages the JavaScript does not work on the design of the page. The design is static and doesn’t change.
Do you confirm that point too?
Regards.
do you mean in design mode?
In Adobe Experience Manager, the JavaScript code might not work in the design mode as it has some restrictions.
Generally design mode has some restrictions with default authoring capabilities.
In design mode, AEM restricts some JavaScript functionalities to prevent interference with the authoring UI. If your JavaScript code is trying to manipulate the DOM or perform other actions that are restricted in design mode, it might not work.
Yes, we are probably talking about the same thing:
Thank you for replying.
Regards,
Hi @RachidR_
Please check this on dedicated Adobe Livecycle community to get faster responses
https://community.adobe.com/t5/acrobat/ct-p/ct-acrobat?page=1&sort=latest_replies&lang=all&tabid=all
@RachidR_ Did you find the suggestions from users helpful? Please let us know if more information is required. Otherwise, please mark the answer as correct for posterity. If you have found out solution yourself, please share it with the community.
Views
Replies
Total Likes
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies
Views
Likes
Replies