Welcome visitor
* Login
* Register
It is currently May 20th, 2019, 6:38 pm
All times are UTC [ DST ]
* Search
View unanswered posts - View active topics

FORUMS » Client Side » HTML



Post new topic Reply to topic  [ 2 posts ] 
Author Message
  input type image to reset
PostPosted: July 1st, 2009, 11:57 pm 

Posts: 19
hi, you know that
<input type="image">

shows an image that works as a submit button, is there another type of input for resetting a form with an image?


Top
 Profile  
 
  Re: input type image to reset
PostPosted: July 2nd, 2009, 12:24 am 
User avatar

Posts: 42
although theres is not another type of input you can achieve the same result with some javascript
<head>
<title></title>
<script type="text/javascript">
function canncel(){document.form.reset();}
</script>
</head>

<body>

<form name="form">
<img src="img.bmp" onclick="canncel()" />
</form>

</body>


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 2 posts ] 

FORUMS » Client Side » HTML


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron