1jaws
asked on
Element 'script' is missing required attribute 'type'.
I get this error Element 'script' is missing required attribute 'type'. but actually it is not causing any problem for page to run, but it is bothering why? I can turn off this error from tools_ text editor- html , by unchecking show errors but i dont want to do that since something is causing this.. anyone knows?
ASKER
wow thank you so much, I had like this <script language="javascript"> and it is showing error, do you know why? it seems good way to say <script language="javascript"> why it is not liking it...
<script language="javascript" type="text/javascript" >
ASKER
ok, first one solved the problem but what do you mean second one you just wrote, is it same thing pretty much?? I am confused..
In tha same langaue you may have differnet type so...
ASKER
ok, which one i should use in my asp.net page?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
THANK YOU!
No. Remove the language attribute. It's been deprecated for years.
The proper script tag to use is:
<script type="text/javascript">
The proper script tag to use is:
<script type="text/javascript">
> In tha same langaue you may have differnet type so...
No, you can't. The type specifies the language.
No, you can't. The type specifies the language.
<script type="text/javascript">
check in your code it it exists ?