Loading ...
Sorry, an error occurred while loading the content.

Re: application/javascript

Expand Messages
  • pauanyu
    ... Indeed, that seems to work right. Interestingly enough, JSLint sees type= as perfectly okay, but type= text/javascript as wrong. Very peculiar.
    Message 1 of 5 , May 21, 2009
    • 0 Attachment
      --- In jslint_com@yahoogroups.com, "sandyhead25" <austin.cheney@...> wrote:
      >
      > Would it be possible to instead validate the necessary presence of the type attribute with an empty value. That way no value is supplied in accordance with browser processing of JS and the attribute is still supplied for HTML validation.
      >

      Indeed, that seems to work right. Interestingly enough, JSLint sees type="" as perfectly okay, but type="text/javascript" as wrong. Very peculiar.
    Your message has been successfully submitted and would be delivered to recipients shortly.