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

How to Accessing HTML Elements using javascript?
How to Accessing HTML Elements using javascript? To do something interesting with HTML elements, we must first be able to uniquely identify which element we want. In the example below: &lt;body> &lt;form action=""> &lt;input type="button" id="useless" name="mybutton" value="doNothing" />...
2008-09-23, 4553👍, 0💬

What does the EnableViewStateMac setting in an aspx page do?
What does the EnableViewStateMac setting in an aspx page do? Setting EnableViewStateMac=true is a security measure that allows ASP.NET to ensure that the viewstate for a page has not been tampered with. If on Postback, the ASP.NET framework detects that there has been a change in the value of viewst...
2008-09-23, 4349👍, 0💬

What is the difference between Session State and ViewState?
What is the difference between Session State and ViewState? ViewState is specific to a page in a session. Session state refers to user specific data that can be accessed across all pages in the web application.
2008-09-16, 4325👍, 0💬

How about 2+5+8?
How about 2+5+"8"? Since 2 and 5 are integers, this is number arithmetic, since 8 is a string, itís concatenation, so 78 is the result.
2008-09-16, 4357👍, 0💬

What Web sites do you feel use JavaScript most effectively
What Web sites do you feel use JavaScript most effectively (i.e., best-in-class examples)? The worst? The best sites are the ones that use JavaScript so transparently, that I'm not aware that there is any scripting on the page. The worst sites are those that try to impress me with how much scripting...
2008-09-09, 4327👍, 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...
2008-09-09, 4381👍, 0💬

Can JavaScript code be broken in different lines?
Can JavaScript code be broken in different lines? Breaking is possible within a string value by using a backslash \ at the end of the line. But this technique can not be used within any other values. For example: document.write("Hello \ world");
2008-09-03, 4370👍, 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.
2008-09-03, 4355👍, 0💬

What is the difference between an alert box and a confirmation box?
What is the difference between an alert box and a confirmation box? An Alert box displays only one button which is the OK button, whereas a Confirm box displays two buttons namely OK and Cancel.
2008-08-26, 4777👍, 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.
2008-08-26, 4456👍, 0💬

How to set the focus in an element using JavaScript?
How to set the focus in an element using JavaScript? Use the "focus()" method of the element object: &lt;script> function setFocus() { if(focusElement != null) { document.forms[0].elements["my elementname"].focus();} } &lt;/script>
2008-08-19, 4288👍, 0💬

How to determine the state of a checkbox using JavaScript?
How to determine the state of a checkbox using JavaScript? Use the "checked" property of the checkbox object. For example: var checkedP = window.document.getElementById ("myCheckBox").checked;
2008-08-19, 4326👍, 0💬

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;
2008-08-12, 4511👍, 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...
2008-08-12, 4449👍, 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.
2008-08-05, 7143👍, 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...
2008-08-05, 4412👍, 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".
2008-07-29, 5011👍, 0💬

What boolean operators does JavaScript support?
What boolean operators does JavaScript support? &amp;&amp;, || and !
2008-07-29, 4508👍, 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 ...
2008-07-22, 4405👍, 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...
2008-07-22, 4694👍, 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.
2008-07-17, 4337👍, 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.
2008-07-17, 4343👍, 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..
2008-07-08, 4465👍, 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.
2008-07-08, 4635👍, 0💬

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