开发者

Image is Clickable, without no hyperlink case surrounded

How to remove the clickabilty of an image?

as you may see, there is no arroung the image...

the code of img:

<input name="ui_taskFormControl$ctl03$ctl00$ctl03$ui_BirthPlaceImage" 开发者_开发知识库height="20" id="ui_taskFormControl_ctl03_ctl00_ctl03_ui_BirthPlaceImage" type="image" src="SmartPenHandler.ashx?FormId=XYZ&FieldId=BirthPlace" complete="complete"/>

alt text http://www.freeimagehosting.net/uploads/9f11efd474.jpg


An <input> of type image is a form of form submit button. If you want an image that isn't clickable just use the good old fashioned <img> tag. There are probably other ways if you want it to stay as an <input> but using <img> will be your easiest solution.


 ui_BirthPlaceImage.Disabled = true;
0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜