Jump to content

DataFeed & html5 validation


stefan1959

Recommended Posts

I got couple of validation errors in dreamweaver.

eg <script language="javascript" src="feeds/productsinfo.php?pid=1&get=name"></script>

 

validation errors

& did not start a character reference. (& probably should have been escaped as &.)

and

The language attribute on the script element is obsolete. You can safely omit it.

 

I changed code to

<script src="feeds/productsinfo.php?pid=1&get=name"></script>

scripts works fine and no errors

 

Is the above ok to use?

Steve

Link to comment
Share on other sites

There are several small items like that littered thought-out the templates. No big deal, just make a copy of the template directory and make the changes there. So if you are using the "default" template, make a copy of that and call it something else like "mytemplate". The go into settings and set WHMCS to use "Mytemplate" as design. This way all the changes you make in "mytemplate" don't get overwritten by upgrades.

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.

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated