<< < 98 99 100 101 102 103 104 105 106 107 108 > >>   Sort: Date

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, 3985👍, 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>
2010-11-30, 3981👍, 0💬

What does isNaN function do?
What does isNaN function do? Return true if the argument is not a number.
2010-08-03, 3978👍, 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, 3973👍, 0💬

Methods GET and POST in HTML forms - what's the difference?.
Methods GET and POST in HTML forms - what's the difference?. GET: Parameters are passed in the querystring. Maximum amount of data that can be sent via the GET method is limited to about 2kb. POST: Parameters are passed in the request body. There is no limit to the amount of data that can be transfe...
2010-08-17, 3970👍, 0💬

Where are cookies actually stored on the hard disk?
Where are cookies actually stored on the hard disk? This depends on the user's browser and OS. In the case of Netscape with Windows, all the cookies are stored in a single file called cookies.txt c:\Program Files\Netscape\Users\username\ cookies.txtIn the case of IE, each cookie is stored in a separ...
2010-07-20, 3967👍, 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.
2010-12-14, 3965👍, 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, 3963👍, 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, 3961👍, 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.
2011-01-18, 3958👍, 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, 3957👍, 0💬

Example of using Regular Expressions for syntax checking in JavaScript
Example of using Regular Expressions for syntax checking in JavaScript ... var re = new RegExp("^(&[A-Za-z_0-9]{1, }=[A-Za-z_0-9]{1,})*$");var text = myWidget.value; var OK = re.test(text); if( ! OK ) { alert("The extra parameters need some work.\r\n Should be something like: \"&a=1&c=4\...
2010-07-13, 3941👍, 0💬

How to create an input box?
How to create an input box? prompt("What is your temperature?");
2011-03-08, 3936👍, 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, 3935👍, 0💬

What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms ?
What is difference between COMPILE_ALL=SPECIAL and COMPILE=ALL while compiling Forms ? Both the options will compile all the PL/SQL in the resultant .FMX, .PLX, or .MMX file but COMPILE_ALL=YES also changes the cached version in the source .FMB, .PLL, or .MMB file. This confuses version control and ...
2011-11-17, 3934👍, 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;
2010-12-28, 3934👍, 0💬

What is an orthogonal base class? C++
What is an orthogonal base class? C++ If two base classes have no overlapping methods or data they are said to be independent of, or orthogonal to each other. Orthogonal in the sense means that two classes operate in different dimensions and do not interfere with each other in any way. The same deri...
2012-01-16, 3933👍, 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, 3931👍, 0💬

Referring to the sample code above, how do you declare a numbers object called "A" and assign its "I" member the value "2"?
class numbers { int I; public: void set(int v) {I = v;} int read() {return I;} } ; Referring to the sample code above, how do you declare a numbers object called "A" and assign its "I" member the value "2"? 1) A : numbers; A.set(2); 2) numbers set(2); numbers A; 3) numbers A; set(2); 4) A.set(2), B....
2012-05-01, 3930👍, 0💬

How to compile Invalid Objects in database ?
How to compile Invalid Objects in database ? You can use adadmin utility to compile or you can use utlrp.sql script shipped with Oracle Database to compile Invalid Database Objects.
2011-12-28, 3928👍, 0💬

What is Web Listener ?
What is Web Listener ? Web Listener is Web Server listener which is listening for web Services(HTTP) request. This listener is started by adapcctl.sh and defined by directive (Listen, Port) in httpd.conf for Web Server. When you initially type request like http://becomeappsdba.blogspot. com:80to acc...
2011-12-27, 3928👍, 0💬

What Web sites do you feel use JavaScript most effectively (i.e., best-in-class examples)? The worst?
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...
2010-11-09, 3927👍, 0💬

Should BasketOfApples derive from BasketOfFruit? Why or why not?
Given the following classes class Fruit { // … } class Apple : public Fruit { // … } class Peach : public Fruit { // … } // Container of fruit class BasketOfFruit { BasketOfFruit() ; void insert( Fruit & f ) ; // … } // Container of apples class BasketOfApples /* ??? */ { // … } Should BasketO...
2012-05-14, 3921👍, 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, 3921👍, 0💬

<< < 98 99 100 101 102 103 104 105 106 107 108 > >>   Sort: Date