HTML validation error with text/javascript

This is the place to report bugs and get support. When posting in this forum, please always provide as much detail as possible.

Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum, do not report it as a bug.

This is the place to report bugs and get support

When posting in this forum, please try to provide as many relevant details as possible. Particularly the following:

  • What operating system were you running when the bug appeared?
  • What database platform is your site using?
  • What version of mojoPortal are you running?
  • What version of .NET do you use?
  • What steps are necessary to reproduce the issue? Compare expected results vs actual results.
Please do not report problems with a custom build or custom code in this forum. If you are producing your own build from the source code and have problems or questions, ask in the developer forum.
This thread is closed to new posts. You must sign in to post in the forums.
2/4/2019 7:53:10 AM
Gravatar
Total Posts 23

HTML validation error with text/javascript

Hi,

I like to have my websites to pass HTML validation and I am stuck with something which I don't think I can edit on the master layout or within the mojoportal site files. 

Every javascript instance on the page gets a HTML warning"

The type attribute is unnecessary for JavaScript resources.

From line 74, column 1; to line 74, column 87

<script src="//ajax.aspnetcdn.com/ajax/4.5/6/WebFormsBundle.js" type="text/javascript">

This can be easily seen on the mojoportal's own home page when that is validated. c.f. 

https://validator.w3.org/nu/?doc=https%3A%2F%2Fwww.mojoportal.com

2/8/2019 12:27:25 PM
Gravatar
Total Posts 2253

Re: HTML validation error with text/

Hi Karl,

Thanks for bringing this up. We'll look at removing the type param from the script references in mojoPortal. 

Thanks,
Joe

You must sign in to post in the forums. This thread is closed to new posts.