Hiding an element

Take a look at this fiddle.
If you click the edit button the save and cancel buttons appear.
This is accomplished by removing the hide class(line 8 JS pane)…the buttons are hidden cause of the actionserv class attached to the tr element in which the buttons are contained…see the CSS pane and you will understand what I am talking about.

My question is how to prevent the save button appearing…in other words I want it to remain hidden even when the hide class is removed from the field-set element.

What is the optimum way to go here you think?
Do I have to change the HTML,add or remove some class or something else.

This seems to be a JS control question, so I have moved the topic to the JS category.

1 Like

Can you have just a class called .hide or .hidden and add that class to the save button?

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.