W3C home > Mailing lists > Public > www-validator@w3.org > July 2013

<!DOCTYPE html> Validation input type image with javascript

From: Dennis Nijholt <dnijholt@hetloyaliteitscentrum.nl>
Date: Fri, 5 Jul 2013 12:32:39 +0000
To: "www-validator@w3.org" <www-validator@w3.org>
Message-ID: <FF79E8A9135DBA408170BCCB66B63F4C4C075B42@E2010-MBX02.exchange2010.nl>
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

This archive was generated by hypermail 2.3.1 : Tuesday, 1 March 2016 14:18:08 UTC