• Post Reply Bookmark Topic Watch Topic
  • New Topic

image disable

 
dsw dsw
Greenhorn
Posts: 6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I have a jsp file with an image . I want to modify the code such that the image gets disabled if say x=true. How do i accomlish this .
This is the code .I am not able to put lessthan and greater than symbols in this html page. So i have removed them.
IMG SRC=strName;/images/name_bullet.gif' ALT="Name"
onclick1="openname();";
}
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13078
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
You seem to be saying that you want to write one set of HTML lines if x is true and another set if x is false. Thats just an "if" statement, right?
 
Consider Paul's rocket mass heater.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!