javascript script tag fields

Ads

 
 

Share on Google+Share on Google+

shinchan
javascript script tag fields
1 Answer(s)      8 years ago
Posted in : Java Beginners
Ads
View Answers

August 14, 2009 at 1:38 PM


Hi Friend,

The type attribute of <script> tag specifies the MIME type of a script. Javascript is the default scripting language so it will work if you use <script> in place of <script type="text/javascript">.However the HTML specification requires to define the mime type of the script.

Yes there is a difference in between type="text/javascript" and type="javascript/text". The former is the MIME type of script while latter is not.

Thanks

Ads









Related Tutorials/Questions & Answers:
javascript script tag fields - Java Beginners
javascript script tag fields  hi all, i wanted to know what is meaning of type property in javascript script tag? In most cases we write type... of tag specifies the MIME type of a script. Javascript is the default scripting
Javascript Code for all fields
Javascript Code for all fields  Good Evening Sir/Madam, Please send me the example program using bootstrap framework for all fields of a form. Please send me the javascript code My E-mail id: [email protected] Regards, S
Advertisements
Using java script do login form having fields with condition.
Using java script do login form having fields with condition.  Need a login form with username, password, phone no, email id, date fields. We should specify the conditions for each field and if we press the submit button
JavaScript Comment Tag
JavaScript Comment Tag  How to write comment in JavaScript
validate select tag items in javascript
validate select tag items in javascript  Hi, How to validate addition of two numbers from two different <select> tag items in JavaScript..? Thanks in advance
Displaying the values in text fields of a form from a javascript function in jsp
Displaying the values in text fields of a form from a javascript function... to call a javascript function by passing 3 values from applet. And i have to display these values in 3 text fields of a form in the current web page. Here form
fields
fields  hi.create a class named librarybook that contains fields to hold methods for setting and getting a librarybooks title,author, and page count
how to get the value of a label field of option tag in javascript?
how to get the value of a label field of option tag in javascript?  example <select> <option label="2" value="A">A<...;/select> can i get the label value in javascript
In JSP page, inside a javascript function, can I place a java code using scriptlet tag?
checkListValue() using scriptlet tag inside the javascript function closeWind...In JSP page, inside a javascript function, can I place a java code using scriptlet tag?  Objective: When the user is trying to close a window, I need
JavaScript validate select tag
JavaScript validate select tag In this tutorial, you will learn how to validate html select tag. Here, we have used two select tags to select numbers...; <script language = "Javascript"> function validate
Script#
Script#       Script# is a C# compiler and set of frameworks that makes it possible to write Javascript and Ajax applications in C#, enabling you to benefit from compile-time type
java script
java script  how to write a Java script program to enter number in two text fields and then automatically display the total in another text field
Java Script
. You can learn Java Script from our JavaScript - JavaScript Tutorial pages...Java Script  What is Java Script? How to learn Java Script?   Hi Java Script is client side programming language. It runs on browser
Java Script.
Java Script.  Hi Sir, The below java script code is not working in Google chrome can yo give me the solution as soon as possible. <script type="text/javascript"> function setValue(){ var val=""; var frm
Java Script.
Java Script.  Hi Sir, The below java script code is not working in Google chrome can yo give me the solution as soon as possible. <script type="text/javascript"> function setValue(){ var val=""; var frm
Java Script.
Java Script.  Hi Sir, The below java script code is not working in Google chrome can yo give me the solution as soon as possible. <script type="text/javascript"> function setValue(){ var val=""; var frm
Java Script.
Java Script.  Hi Sir, The below java script code is not working in Google chrome can yo give me the solution as soon as possible. <script type="text/javascript"> function setValue(){ var val=""; var frm
JavaScript - JavaScript Tutorial
most of the things about java script. JavaScript tutorial is classified... email address in you JSP program using JavaScript.    Java Script... to create the html tag's attribute dynamically.   JavaScript createCaption
JavaScript remove method
;select> tag by using the method remove() of the JavaScript. Syntax... JavaScript remove method       As JavaScript's add() method is used to add more option elements
is it possible to use jsp in java script
is it possible to use jsp in java script  is it possible to use jsp inside the javascript while using java script in body tag on that time i am... is positive, javascript do some operation ,if count value is negative, javascript do some
is it possible to use jsp in java script
is it possible to use jsp in java script  is it possible to use jsp inside the javascript while using java script in body tag on that time i am... is positive, javascript do some operation ,if count value is negative, javascript do some
JavaScript
JavaScript  clone JavaScript
upload image and fields.....fields is id name.....
upload image and fields.....fields is id name.....  Get Data using Java Servlet The frame takes following input.. Id: Name: browse:Image are file
upload image and fields.....fields is id name.....
upload image and fields.....fields is id name.....  Hi this is sreenu my problam is capcharing data to the servler thi is my frame Id: Name: browse:Image are file
Sitemap Java Script Tutorial
| Conditions In Java Script | Looping in JavaScript | Functions in JavaScript... | Email validation is JSP using JavaScript | Java Script Code of Calendar... What is JavaScript? | Writing Simple JavaScript | Statements
javascript
javascript  please tell me sir,this query not validating correctly..whats wrong in this query? <HTML> <HEAD> <TITLE>validate <Script language = JavaScript> function validate(theForm) { var why=""; why
Javascript
Javascript  <html> <head> <script type="text/javascript"> function validateForm() { var sname=document.getElementById('spocname'); var scontact=document.getElementById('spoccontact'); if(sname.value.length
script error - Java Beginners
script error  hi, Is it possiple to use PHP function under the script tag. plz help me. thank u in advance. regards, sakthi  Hi Friend, Yes It is possible to use PHP function under the script Tag. Thanks
javascript
javascript  javascript code to dynamically add table on button click.../javascript/javascriptexamples/javascript-add-row-dynamically.shtml http://www.roseindia.net/javascript/javascript-add-row-to-table.shtml http://www.roseindia.net
Conditions In Java Script
;/head> </body> <script type="text/javascript">... in HTML within a <SCRIPT> tag. It can be used to any number of JavaScript... Conditions In Java Script   
Java script in servlet
Java script in servlet  Hi. How to use javascript inside java servlet? Thanks in advance

Ads

 
Advertisement null

Ads