<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank

How to get the contents of an input box using JavaScript?
How to get the contents of an input box using JavaScript? Use the "value" property of the input box object. For example: var myValue = window.document.getElementById ("MyTextBox").value;
2010-10-12, 3589👍, 0💬

What is the difference between a web-garden and a web-farm?
What is the difference between a web-garden and a web-farm? Web-garden - An IIS 6.0 feature where you can configure an application pool as a web-garden and also specify the number of worker processes for that pool. It can help improve performance in some cases. Web-farm - A general term referring to...
2010-10-12, 3250👍, 0💬

What is the difference between RegisterClientScriptBlock and RegisterStartupScript?
What is the difference between RegisterClientScriptBlock and RegisterStartupScript? RegisterClientScriptBlock emits the JavaScript just after the opening &lt;form> tag. RegisterStartupScript emits the JavaScript at the bottom of the ASP.NET page just before the closing &lt;/form> tag.
2010-10-05, 3734👍, 0💬

What are the ways to emit client-side JavaScript from server-side code in ASP.NET?
What are the ways to emit client-side JavaScript from server-side code in ASP.NET? The Page object in ASP.NET has two methods that allow emitting of client-side JavaScript: RegisterClientScriptBlock and RegisterStartupScript. Example usage: Page.RegisterClientScriptBlock ("ScriptKey","&lt;script...
2010-10-05, 3070👍, 0💬

What does "1"+2+4 evaluate to?
What does "1"+2+4 evaluate to? Since "1" is a string, everything is a string, so the result is a string of "124".
2010-09-28, 3415👍, 0💬

What boolean operators does JavaScript support?
What boolean operators does JavaScript support? &amp;&amp;, || and !
2010-09-28, 3193👍, 0💬

What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage?
What are the problems associated with using JavaScript, and are there JavaScript techniques that you discourage? Browser version incompatibility is the biggest problem. It requires knowing how each scriptable browser version implements its object model. You see, the incompatibility rarely has to do ...
2010-09-21, 3229👍, 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, 3135👍, 0💬

How to embed JavaScript in a web page?
How to embed JavaScript in a web page? javascript code can be embedded in a web page between &lt;script langugage="javascript"> your scripts here &lt;/script> tags.
2010-09-14, 3014👍, 0💬

Are Java and JavaScript the Same?
Are Java and JavaScript the Same? No. java and JavaScript are two different languages. Java is a powerful object - oriented programming language like C++ and C, whereas Javascript is a client-side scripting language.
2010-09-14, 3012👍, 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, 3098👍, 0💬

What does the "Access is Denied" IE error mean?
What does the "Access is Denied" IE error mean? The "Access Denied" error in any browser is due to the following reason. A JavaScript in one window or frame is tries to access another window or frame whose document's domain is different from the document containing the script.
2010-08-31, 3477👍, 0💬

To change the presentation of an element
To change the presentation of an element, which of the following can be used? A) document.getElementById('elem1 ').style.propertyName= "value"; B) document.getElementById('elem1 ).className= "value"; C) Both a and b above D) None of the above
2010-08-28, 3190👍, 0💬

The join() function allows you to:
The join() function allows you to: A) create a string out of an array. B) create an array out of a string delimited by some character. C) join two strings. D) all of the above.
2010-08-28, 3168👍, 0💬

nodeList is almost like an array except:
nodeList is almost like an array except: A) it has an item method. B) it is read-only. C) both a and b above. D) none of the above.
2010-08-28, 3439👍, 0💬

browser incompatibilities aside
Keeping browser incompatibilities aside, an event can be registered except: A) (input type="button" id="btn" name="btn" value="Click" onclick="handler()" /) B) document.getElementById("btn") .onclick= function() { alert("handler!"); } C) document.getElementById("btn") .addEventListener("onclick",han...
2010-08-28, 3261👍, 0💬

How many times will the following loop print the word loop to the screen?
How many times will the following loop print the word loop to the screen? var index = 0; while (index < 3) { window.document.writeln("loop" );index++; } A) 1 B) 2 C) 3 D) 4
2010-08-28, 3267👍, 0💬

How do you locate the first X in a string txt?
How do you locate the first X in a string txt? A) txt.find('X'); B) txt.locate('X'); C) txt.indexOf('X'); D) txt.countTo('X');
2010-08-28, 4293👍, 0💬

How do you assign an object's property in JavaScript?
How do you assign an object's property in JavaScript? A) obj("age") = 30; B) obj.age = 30; C) Both a and b above D) None of the above
2010-08-28, 3052👍, 0💬

The eval() method is incredibly powerful because it:
The eval() method is incredibly powerful because it: A) allows you to execute snippets of code during execution. B) allows you to evaluate for enough resources. C) allows you to evaluate and validate user input. D) all of the above.
2010-08-28, 3039👍, 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, 3032👍, 0💬

When is the following statement true?
When is the following statement true? if (day = " 26 ") a) When the variable age equals 26 b) This statement is never true c) This stattement is always true d) If it is the twenty sixth day of the month
2010-08-28, 2975👍, 0💬

Can JavaScript steal text from your clipboard?
Can JavaScript steal text from your clipboard? It is true, text you last copied for pasting (copy & paste) can be stolen when you visit web sites using a combination of JavaScript and ASP (or PHP, or CGI) to write your possible sensitive data to a database on another server.
2010-08-24, 3198👍, 0💬

How to write a script manage a list using JavaScript?
How to write a script manage a list using JavaScript? 1. To remove an item from a list: set it to null: myList[3] = null; 2. To truncate a list: reset the length property: myList.length = 2; 3. To delete all items in a list, set the length to 0: myList.length = 0;
2010-08-24, 3097👍, 0💬

<< < 1 2 3 4 5 6 7 8 9 > >>   Sort: Rank