<!DOCTYPE html> Validation input type image with javascript

Dear W3 member,

<input type="image" name="send" value="send" onclick="sendRequestSearch(message.value);">

Gives the following error:  Attribute value not allowed on element input at this point.
But when I change it in type button it's allowed, like this:

<input type="button" name="send" value="send"  onclick="versturen(bericht.value);">

In my humble opinion it must be correct too then. Feel free to check it in real-life on:

http://www.hetloyaliteitscentrum.nl/testservicechat/index-w3.php

I'll hope that you can update me about this on this e-mail adress dnijholt@hetloyaliteitscentrum.nl

With best regards,

Dennis Nijholt


Conversatie manager


[Het Loyaliteitscentrum]

Kastanjeleane 62 | 8531 ZA | Lemmer
info@hetloyaliteitscentrum.nl<http://socialmediaenquete.nl/email/info@hetloyaliteitscentrum.nl> | www.hetloyaliteitscentrum.nl<http://www.hetloyaliteitscentrum.nl/>
088-0233100 | KvK nr. 55699367
[LinkedIn-profiel van Dennis Nijholt weergeven]Profiel van Dennis Nijholt weergeven<http://nl.linkedin.com/in/dennisnijholt>

<http://nl.linkedin.com/in/dennisnijholt>

<http://nl.linkedin.com/in/dennisnijholt>[Twitterprofiel van Dennis Nijholt weergeven]<https://twitter.com/Dennis_HetLC>

Received on Friday, 5 July 2013 13:52:05 UTC