Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

disabling or enabling a link  RSS feed

 
Lalitha Vydyula
Ranch Hand
Posts: 69
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I have a jsp in which I have a hyperlink which takes me to another jsp page. I also have a select element with options 'Y' and 'N'. When I select 'Y' from the options I need to enable the hyperlink to navigate to the other page. When I select 'N' from options I need to disable the hyperlink. How do I do this? Thanks

-Lalitha
 
Vis Deo
Ranch Hand
Posts: 41
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Use javascript that will be triggered on click and keep your hyper link in div tag - make it visible invisible based on click
 
Bear Bibeault
Author and ninkuma
Marshal
Posts: 65825
134
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In future posts, please be sure to post Javascript questions in the appropriate forum.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!