<< < 3 4 5 6 7 8 9 10 > >>   Sort: Date

Are you concerned that older browsers don't support JavaScript and thus exclude a set of Web users?
Are you concerned that older browsers don't support JavaScript and thus exclude a set of Web users? Fragmentation of the installed base of browsers will only get worse. By definition, it can never improve unless absolutely everyone on the planet threw away their old browsers and upgraded to the late...
2010-08-03, 3508👍, 0💬

What is a prompt box?
What is a prompt box? A prompt box allows the user to enter input by providing a text box.
2010-11-02, 3506👍, 0💬

Taking a developer’s perspective, do you think that that JavaScript is easy to learn and use?
Taking a developer’s perspective, do you think that that JavaScript is easy to learn and use? I think JavaScript is easy to learn. One of the reasons JavaScript has the word "script" in it is that as a programming language, the vocabulary of the core language is compact compared to full-fledged prog...
2010-11-09, 3505👍, 0💬

What and where are the best JavaScript resources on the Web?
What and where are the best JavaScript resources on the Web? The Web has several FAQ areas on JavaScript. The best place to start is the w3schools.com website. For interactive help with specific problems, nothing beats the primary JavaScript Usenet newsgroup, comp.lang.javascript. Depending on my wo...
2010-09-21, 3502👍, 0💬

What is "this" keyword?
What is "this" keyword? It refers to the current object.
2010-12-28, 3499👍, 0💬

How to create a confirmation box?
How to create a confirmation box? confirm("Do you really want to launch the missile?");
2011-03-08, 3493👍, 0💬

How do you target a specific frame from a hyperlink?
How do you target a specific frame from a hyperlink? Include the name of the frame in the target attribute of the hyperlink. &lt;a href=”mypage.htm” target=”BodyFrame”>>Next&l t;/a>
2010-07-06, 3488👍, 0💬

How to select an element by id and swapping an image?
How to select an element by id and swapping an image? ... &lt;script language="JavaScript" type="text/javascript" > function setBeerIcon() { var beerIcon = document.getElementById("beerI con");beerIcon.src = "images/"+getSelectValue("beer ")+".jpg";} &lt;/script> ... &lt;img border="0" s...
2011-01-11, 3484👍, 0💬

Is a JavaScript script faster than an ASP script?
Is a JavaScript script faster than an ASP script? Yes. Since JavaScript is a client-side script it does not require the web server's help for its computation, so it is always faster than any server-side script like ASP, JSP, PHP, etc..
2010-08-31, 3482👍, 0💬

How can JavaScript make a Web site easier to use?
How can JavaScript make a Web site easier to use? That is, are there certain JavaScript techniques that make it easier for people to use a Web site? JavaScript's greatest potential gift to a Web site is that scripts can make the page more immediately interactive, that is, interactive without having ...
2010-06-08, 3477👍, 0💬

What is === operator?
What is === operator? ==== is strict equality operator, it returns true only when the two operands are having the same value without any type conversion.
2011-02-01, 3464👍, 0💬

How to set a HTML document's background color?
How to set a HTML document's background color? document.bgcolor property can be set to any appropriate color.
2010-07-27, 3460👍, 0💬

How to comment JavaScript code?
How to comment JavaScript code? Use // for line comments and /* */ for block comments
2010-12-07, 3449👍, 0💬

You have an ASP.NET web application running on a web-farm that does not use sticky sessions - so the requests for a session are
You have an ASP.NET web application running on a web-farm that does not use sticky sessions - so the requests for a session are not guaranteed to be served the same machine. Occasionally, the users get error message Validation of viewstate MAC failed. What could be one reason that is causing this er...
2011-01-04, 3448👍, 0💬

How to get values from cookies to set widgets?
How to get values from cookies to set widgets? function getCookieData(labelName) { //from Danny Goodman var labelLen = labelName.length; // read cookie property only once for speed var cookieData = document.cookie; var cLen = cookieData.length; var i = 0; var cEnd; while (i &lt; cLen) { var j = ...
2011-05-24, 3445👍, 0💬

To set all checkboxes to true using JavaScript?
To set all checkboxes to true using JavaScript? //select all input tags function SelectAll() { var checkboxes = document.getElementsByTagName( "input");for(i=0;i&lt;checkboxes.le ngth;i++){ if(checkboxes.item(i).attribut es["type"].value== "checkbox") { checkboxes.item(i).checked = true; } } }
2011-01-11, 3445👍, 0💬

How tp create Arrays using JavaScript??
How tp create Arrays using JavaScript?? &lt;script type="text/javascript"> var days = new Array(); days[0] = "Sunday" days[1] = "Monday" days[2] = "Tuesday" days[3] = "Wednesday" days[4] = "Thursday" days[5] = "Friday" days[6] = "Saturday" document.write("first day is "+days[0]) &lt;/script>...
2011-07-12, 3437👍, 0💬

How to make a array as a stack using JavaScript?
How to make a array as a stack using JavaScript? The pop() and push() functions turn a harmless array into a stack: &lt;script type="text/javascript"> var numbers = ["one", "two", "three", "four"]; numbers.push("five"); numbers.push("six"); document.write(numbers.pop()); document.write(numbers.p...
2011-07-26, 3436👍, 0💬

The browser makes an Ajax call by calling the:
The browser makes an Ajax call by calling the: A) send method of the XMLHttpObject. B) sendRequest method of the XMLHttpObject. C) sendAJAXRequest method of the XMLHttpObject. D) sendData method of the XMLHttpObject.
2010-08-28, 3426👍, 0💬

What is the data types of variables of in JavaScript?
What is the data types of variables of in JavaScript? Number, String, Boolean, Function, Object, Null, Undefined.
2010-08-17, 3423👍, 0💬

How to have the status line update when the mouse goes over a link?
How to have the status line update when the mouse goes over a link? &lt;a href="javascript.shtml" onmouseover="window.status='Hi There!';return true" onmouseout="window.status='';r eturntrue">Look at the Status bar&lt;/a> Look at the Status bar as your cursor goes over the link.
2011-03-01, 3416👍, 0💬

How to access an external JavaScript file that is stored externally and not embedded?
How to access an external JavaScript file that is stored externally and not embedded? This can be achieved by using the following tag between head tags or between body tags. &lt;script src="MyScripts.js">&lt;/sc ript>where MyScripts.js is the external JavaScript file to be accessed.
2010-10-26, 3414👍, 0💬

What does the delete operator do?
What does the delete operator do? The delete operator is used to delete all the variables and objects used in the program ,but it does not delete variables declared with var keyword.
2011-07-12, 3411👍, 0💬

How to shift and unshift using JavaScript?
How to shift and unshift using JavaScript? &lt;script type="text/javascript"> var numbers = ["one", "two", "three", "four"]; numbers.unshift("zero"); document.write(" "+numbers.shift()); document.write(" "+numbers.shift()); document.write(" "+numbers.shift()); &lt;/script> This produces zero...
2011-08-02, 3401👍, 0💬

<< < 3 4 5 6 7 8 9 10 > >>   Sort: Date