[Okta Webinar] Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 576
  • Last Modified:

How to put div tags and style: display none for the webpart

I want to show and hide a webpart. where should I give the div tag inside the webpart or above the webpart. I gave it inside but I get error that div tag is not recognized. any example is helpful
0
vmandem
Asked:
vmandem
2 Solutions
 
techsathishCommented:
Hi,

U can use JavaScript for show and hide the div.

http://www.javascriptjunkie.com/?p=9
http://javascript.internet.com/miscellaneous/show-hide-a-div.html

try these two links. Hope it helpful.  
0
 
StevenMulkerrinsCommented:
Under what conditions are you trying to show and hide the web part? Is it a standard sharepoint web part or a custom one you wrote yourself?


0
 
vmandemAuthor Commented:
Not exactly what I'm looking for
0

Featured Post

Get your Disaster Recovery as a Service basics

Disaster Recovery as a Service is one go-to solution that revolutionizes DR planning. Implementing DRaaS could be an efficient process, easily accessible to non-DR experts. Learn about monitoring, testing, executing failovers and failbacks to ensure a "healthy" DR environment.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now