This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

Replacing one tag with another tag in JSP  RSS feed

 
N Naresh
Ranch Hand
Posts: 66
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi i want to replace a <xstyle> custom tag with another tag <div class="xstyle" style="display:none;">

how i can do it. I am getting <xstyle> from a java class.
 
David Newton
Author
Rancher
Posts: 12617
IntelliJ IDE Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Wouldn't that depend on what the xstyle tag does?
 
ankur rathi
Ranch Hand
Posts: 3830
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
N Naresh wrote:Hi i want to replace a <xstyle> custom tag with another tag <div class="xstyle" style="display:none;">

how i can do it. I am getting <xstyle> from a java class.


In css file you'll have to define a class xstyle which you are using in div and it would do what your xstyle tag is doing currently...
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!