aspose file tools*
The moose likes HTML, CSS and JavaScript and the fly likes How to disable header tag in jquery or javascript Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to disable header tag in jquery or javascript" Watch "How to disable header tag in jquery or javascript" New topic
Author

How to disable header tag in jquery or javascript

pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63
How to disable header tag(<h1>to<h6>) in j query or java script. I want disable these tag on click so can I disable in j query or java script

for example I have <h2>sdfsdf</h2> and i want to disable h2 on click so is their any method to disable <h2> tag
Kavisha Paranamana
Greenhorn

Joined: Jul 30, 2011
Posts: 25
What did you mean by 'disabling' ?
If you need to change the 'look' of these tags on the click event, you can just change the class in the click event.


Kavisha Paranamana - Homepage
pravin rasal
Ranch Hand

Joined: Jul 27, 2011
Posts: 63

This is code in J query : My problem is when i click on "section 1" i didn't want to pop up above description of section one and also when I click on area of "section 1 " means <h3> tag I Didn't want to popup the message...
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How to disable header tag in jquery or javascript