Samuel Jacob O'Connell
Posts: 0
Joined: Wed Oct 14, 2015 2:43 am

Invoke a element.hide(); before a page load.

Hi,

I am attempting to hide a button on page load using the element.hide(); javascript. Rather than just applying it to a page, I need to apply it to the page the user is going.

Let me know if you need me to clarify.
-Sam

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Invoke a element.hide(); before a page load.

Hi Samuel -

For such case just use CSS rule for an appropriate element:

pre
selector {
display: none;
}
/pre

-- the .hide() method is just a equivalent for the same rule in CSS.

Return to “Issues”