1 2 3 4 5 6 > >>   Sort: Rank

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.
2017-10-18, 4044👍, 1💬

💬 2017-10-18 er: re

Array creation
How to create array in javascript
2013-12-19, 1407👍, 0💬

How can you add properties to an object?
How can you add properties to an object?
2013-10-23, 1513👍, 0💬

Can We Multiple Script Manager in Ajax?
Can We Multiple Script Manager in Ajax? Can We have multiple content place holder in Master pages in asp.net? In Javascript While click a submit at the time a new text box will be displayed ? Give examples and their methods used
2013-10-23, 1611👍, 0💬

Ms.
My browser says connection failed & at top of page it says empty page? It won't let me send or receive pictures, or download. Every thing work great for 2nite so it's not my location. I got a few songs blue toothed to my cell and few mins later it refused to go online. I have deleted those blue toot...
2013-09-03, 1538👍, 0💬

What is the difference of decodeURI() and encodeURI()?
What is the difference of decodeURI() and encodeURI()? Many characters cannot be sent in a URL, but must be converted to their hex encoding. These functions are used to convert an entire URI (a superset of URL) to and from a format that can be sent via a URI. <script type="text/javascript"> var u...
2011-08-30, 2838👍, 0💬

What is the difference unescape() and escape()?
What is the difference unescape() and escape()? These are similar to the decodeURI() and encodeURI(), but escape() is used for only portions of a URI: <script type="text/javascript"> var myvalue = "Sir Walter Scott"; document.write("Original myvalue: "+myvalue); document.write("<br />escaped: ...
2011-08-23, 3160👍, 0💬

What's Prototypes for JavaScript?
What's Prototypes for JavaScript? Objects have "prototypes" from which they may inherit fields and functions. <script type="text/javascript"> function movieToString() { return("title: "+this.title+" director: "+this.director); } function movie(title, director) { this.title = title; this.director ...
2011-08-23, 2793👍, 0💬

How to create a function using function constructor?
How to create a function using function constructor? The following example illustrates this. It creates a function called square with argument x and returns x multiplied by itself. var square = new Function ("x","return x*x");
2011-08-16, 2722👍, 0💬

What does break and continue statements do?
What does break and continue statements do? Continue statement continues the current loop (if label not specified) in a new iteration whereas break statement exits the current loop.
2011-08-16, 2742👍, 0💬

What is the eval() function?
What is the eval() function? The eval() method is incredibly powerful allowing you to execute snippets of code during exection. <script type="text/javascript"> var USA_Texas_Austin = "521,289"; document.write("Population is "+eval("USA_"+"Texas_"+"Austin "));</script> This produces: Population...
2011-08-09, 2807👍, 0💬

How to associate functions with objects using JavaScript?
How to associate functions with objects using JavaScript? Let's now create a custom "toString()" method for our movie object. We can embed the function directly in the object like this. <script type="text/javascript"> function movie(title, director) { this.title = title; this.director = director;...
2011-08-09, 2669👍, 0💬

How to create an object using JavaScript?
How to create an object using JavaScript? Objects can be created in many ways. One way is to create the object and add the fields directly. <script type="text/javascript"> var myMovie = new Object(); myMovie.title = "Aliens"; myMovie.director = "James Cameron"; document.write("movie: title is \""...
2011-08-02, 2722👍, 0💬

How to shift and unshift using JavaScript?
How to shift and unshift using JavaScript? <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()); </script> This produces zero one two...
2011-08-02, 2654👍, 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: <script type="text/javascript"> var numbers = ["one", "two", "three", "four"]; numbers.push("five"); numbers.push("six"); document.write(numbers.pop()); document.write(numbers.pop().. .
2011-07-26, 2667👍, 0💬

How to use "join()" to create a string from an array using JavaScript?
How to use "join()" to create a string from an array using JavaScript? "join" concatenates the array elements with a specified seperator between them. <script type="text/javascript"> var days = ["Sunday","Monday","Tuesday"," Wednesday","Thursday","Friday","Saturday" ];document.write("days:"+days... .
2011-07-26, 2490👍, 0💬

How to use strings as array indexes using JavaScript?
How to use strings as array indexes using JavaScript? Javascript does not have a true hashtable object, but through its wierdness, you can use the array as a hashtable. <script type="text/javascript"> var days = ["Sunday","Monday","Tuesday"," Wednesday","Thursday","Friday","Saturday" ];for(var i=...
2011-07-19, 2530👍, 0💬

How to delete an entry using JavaScript?
How to delete an entry using JavaScript? The "delete" operator removes an array element, but oddly does not change the size of the array. <script type="text/javascript"> var days = ["Sunday","Monday","Tuesday"," Wednesday","Thursday","Friday","Saturday" ];document.write("Number of days:"+days.len...
2011-07-19, 2627👍, 0💬

How tp create Arrays using JavaScript??
How tp create Arrays using JavaScript?? <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]) </script> This pr...
2011-07-12, 2630👍, 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, 2640👍, 0💬

What's the Date object using JavaScript?
What's the Date object using JavaScript? Time inside a date object is stored as milliseconds since Jan 1, 1970. new Date(06,01,02) // produces "Fri Feb 02 1906 00:00:00 GMT-0600 (Central Standard Time)" new Date(06,01,02).toLocaleString( )// produces "Friday, February 02, 1906 00:00:00" new Date(06,...
2011-07-05, 2627👍, 0💬

What's Math Constants and Functions using JavaScript?
What's Math Constants and Functions using JavaScript? The Math object contains useful constants such as Math.PI, Math.E Math also has a zillion helpful functions. Math.abs(value); //absolute value Math.max(value1, value2); //find the largest Math.random() //generate a decimal number between 0 and 1 ...
2011-07-05, 2499👍, 0💬

How to test for bad numbers using JavaScript?
How to test for bad numbers using JavaScript? The global method, "isNaN()" can tell if a number has gone bad. var temperature = parseFloat(myTemperatureWidget .value);if(!isNaN(temperature)) { alert("Please enter a valid temperature."); }
2011-06-28, 2554👍, 0💬

How to convert numbers to strings using JavaScript?
How to convert numbers to strings using JavaScript? You can prepend the number with an empty string var mystring = ""+myinteger; or var mystring = myinteger.toString(); You can specify a base for the conversion, var myinteger = 14; var mystring = myinteger.toString(16); mystring will be "e".
2011-06-21, 2631👍, 0💬

1 2 3 4 5 6 > >>   Sort: Rank