<< < 81 82 83 84 85 86 87 88 89 90 91 > >>   Sort: Rank

Does JavaScript have the concept level scope?
Does JavaScript have the concept level scope? No. JavaScript does not have block level scope, all the variables declared inside a function possess the same level of scope unlike c, c++, and java.
2008-12-02, 4521👍, 0💬

What is variable typing in JavaScript?
What is variable typing in JavaScript? It is perfectly legal to assign a number to a variable and then assign a string to the same variable as in the following example: i = 10; i = "string"; This is called variable typing
2008-11-25, 4895👍, 0💬

What is the difference between undefined value and null value?
What is the difference between undefined value and null value? Undefined value cannot be explicitly stated that is there is no keyword called undefined whereas null value has keyword called null. typeof undefined variable or property returns undefined whereas typeof null value returns object
2008-11-25, 4594👍, 0💬

What does undefined value mean in JavaScript?
What does undefined value mean in JavaScript? Undefined value means the variable used in the code doesn't exist or is not assigned any value, or the property doesnt exist.
2008-11-18, 5179👍, 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...
2008-11-18, 4896👍, 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; } } }
2008-11-11, 4873👍, 0💬

You have an ASP.NET web application running on a web-farm ...
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...
2008-11-11, 4804👍, 0💬

What does the term sticky session mean in a web-farm scenario?
What does the term sticky session mean in a web-farm scenario? Why would you use a sticky session? What is the potential disadvantage of using a sticky session? Sticky session refers to the feature of many commercial load balancing solutions for web-farms to route the requests for a particular sessi...
2008-11-04, 4951👍, 0💬

What is "this" keyword?
What is "this" keyword? It refers to the current object.
2008-11-04, 5036👍, 0💬

What’s a quick way to append a value to an array?
What’s a quick way to append a value to an array? arr[arr.length] = value;
2008-10-28, 4781👍, 0💬

How do you assign object properties?
How do you assign object properties? obj["age"] = 17 or obj.age = 17.
2008-10-28, 4927👍, 0💬

How do you create a new object in JavaScript?
How do you create a new object in JavaScript? var obj = new Object(); or var obj = {};
2008-10-21, 4841👍, 0💬

What does JavaScript null mean?
What does JavaScript null mean? The null value is a unique value representing no value or no object. It implies no object, or null string, no valid boolean value, no number and no array object.
2008-10-21, 4838👍, 0💬

Name the numeric constants representing max, min values
Name the numeric constants representing max, min values Number.MAX_VALUE Number.MIN_VALUE
2008-10-14, 4457👍, 0💬

How to comment JavaScript code?
How to comment JavaScript code? Use // for line comments and /* */ for block comments
2008-10-14, 4587👍, 0💬

How to hide JavaScript code from old browsers that does not support JavaScript?
How to hide JavaScript code from old browsers that does not support JavaScript? Use the below specified style of comments: &lt;script language=javascript> &lt;!-- javascript code goes here // --&gt; &lt;/script> or Use the &lt;NOSCRIPT> and &lt;/NOSCRIPT> tags and code the di...
2008-10-07, 4740👍, 0💬

How to put a close window link on a page?
How to put a "close window" link on a page? &lt;a href='javascript:window.close( )'class='mainnav'> Close &lt;/a>
2008-10-07, 4692👍, 0💬

What looping structures are there in JavaScript?
What looping structures are there in JavaScript? for, while, do-while loops, but no foreach.
2008-09-30, 4885👍, 0💬

SQL Joins
What is the difference between Inner Join and Outer Join? 1. You use INNER JOIN to return all rows from both tables where there is a match. ie. in the resulting table all the rows and colums will have values. In OUTER JOIN the relulting table may have empty colums. Outer join may be either LEFT or R...
2008-09-25, 6175👍, 0💬

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, 5345👍, 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, 5157👍, 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, 5119👍, 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, 5194👍, 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, 5037👍, 0💬

<< < 81 82 83 84 85 86 87 88 89 90 91 > >>   Sort: Rank