Jump to content
Sign in to follow this  
codell

Hide Search Page When Details Open - Using Separate Search And Results Datapages

Recommended Posts

Hello,

 

Thanks in advance for checking this out.

 

I use separate Search and Results datapages to filter a results table on a single web page. I am looking for a way to hide the Search fields if a user navigates to the "Details" view.

 

Is there a way to do this with JS?

 

I figure I could also remove the details page, create a new details only datapage, and just use an html block link with querystring parameters from the results table to connect the two but am more interested in if there is a coded way to accomplish this.

 

Thanks again.

 

codell

Share this post


Link to post
Share on other sites

If not then add Header/Footer to details page

 

Header:

 

<div id="details">

Footer:

</div>
 

<script>
        
        document.getElementById('search').style.display="none";
            
</script>   

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
Sign in to follow this  

×
×
  • Create New...