Jump to content

Validating Javascript routine.


scorpion

Recommended Posts

I have added a clock display routine which is working correctly, however when I validate I have an error.

 

I have a statement in the head of the page:-

 

 

And my routine is at clock.js of course

 

The suspect code in the body is:-

 

 

The validation returns with:

1. Error Line 76, Column 32: required attribute "ACTION" not specified

 

[/u][/color]

 

The attribute given above is required for an element that you've used, but you have omitted it. For instance, in most HTML and XHTML document types the "type" attribute is required on the "script" element and the "alt" attribute is required for the "img" element.

 

Typical values for type are type="text/css" for

 

Any suggestions for this validation error?

 

Regards

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...