<< < 21 22 23 24 25 26 27 >   Sort: Date

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 ...
2009-03-03, 4429👍, 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, 4415👍, 0💬

How to have an element invoke a JavaScript on selection, instead of going to a new URL
How to have an element invoke a JavaScript on selection, instead of going to a new URL &lt;script type="text/javascript"> function pseudoHitMe() { alert("Ouch!"); } &lt;/script> &lt;a href="javascript:pseudoHitMe() ">hitme&lt;/a>
2008-12-30, 4399👍, 0💬

How do we get JavaScript onto a web page?
How do we get JavaScript onto a web page? You can use several different methods of placing JavaScript in you pages. You can directly add a script element inside the body of page. 1. For example, to add the "last updated line" to your pages, In your page text, add the following: &lt;p>blah, blah,...
2010-06-02, 4391👍, 0💬

What are two different types of remote object creation mode in .NET ?
.NET INTERVIEW QUESTIONS - What are two different types of remote object creation mode in .NET ? There are two different ways in which object can be created using Remoting :- * SAO (Server Activated Objects) also called as Well-Known call mode. * CAO (Client Activated Objects) SAO has two modes “Sin...
2009-08-11, 4379👍, 0💬

What is an application object ?
.NET INTERVIEW QUESTIONS - What is an application object ? Application object can be used in situation where we want data to be shared across users globally.
2009-04-21, 4373👍, 0💬

How to change style on an element?
How to change style on an element? Between CSS and javascript is a weird symmetry. CSS style rules are layed on top of the DOM. The CSS property names like "font-weight" are transliterated into "myElement.style.fontWeight". The class of an element can be swapped out. For example: document.getElement...
2009-02-03, 4367👍, 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, 4351👍, 0💬

What is DISCO ?
.NET INTERVIEW QUESTIONS - What is DISCO ? DISCO is the abbreviated form of Discovery. It is basically used to club or group common services together on a server and provides links to the schema documents of the services it describes may require.
2009-10-07, 4310👍, 0💬

What are the precautions you will take in order that SQLSERVER Mode work properly ?
.NET INTERVIEW QUESTIONS - What are the precautions you will take in order that SQLSERVER Mode work properly ? Following are the things to remember so that SQLSERVER Mode works properly :- * SQLSERVER mode session data is stored in a different process so you must ensure that your objects are seriali...
2009-06-09, 4285👍, 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, 4282👍, 0💬

What are two different types of remote object creation mode in .NET ?
.NET INTERVIEW QUESTIONS - What are two different types of remote object creation mode in .NET ? There are two different ways in which object can be created using Remoting :- * SAO (Server Activated Objects) also called as Well-Known call mode. * CAO (Client Activated Objects) SAO has two modes “Sin...
2009-08-11, 4257👍, 0💬

How can you reference current thread of the method ?
.NET INTERVIEW QUESTIONS - How can you reference current thread of the method ? "Thread.CurrentThread" refers to the current thread running in the method."CurrentThread" is a public static property.
2009-11-17, 4233👍, 0💬

What is the fundamental of published or pre-created objects in Remoting ?
.NET INTERVIEW QUESTIONS - What is the fundamental of published or pre-created objects in Remoting ? In scenarios of singleton or single call the objects are created dynamically. But in situations where you want to pre-create object and publish it you will use published object scenarios. Dim obj as ...
2009-08-18, 4165👍, 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, 4163👍, 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, 4151👍, 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, 4145👍, 0💬

What is ObjRef object in remoting ?
.NET INTERVIEW QUESTIONS - What is ObjRef object in remoting ? All Marshal() methods return ObjRef object.The ObjRef is serializable because it implements the interface ISerializable, and can be marshaled by value. The ObjRef knows about :- * location of the remote object * host name * port number *...
2009-10-01, 4128👍, 0💬

How to disable an HTML object
How to disable an HTML object document.getElementById("myObj ect").disabled= true;
2011-02-15, 4051👍, 0💬

General technical question
What is the difference between Java and C++? What is the advantage of each of them? Java does not support typedefs, defines, or a preprocessor. Without a preprocessor, there are no provisions for including header files. Since Java does not have a preprocessor there is no concept of #define macros or...
2011-06-28, 4019👍, 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, 4004👍, 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, 3944👍, 0💬

Name the numeric constants representing max, min values
Name the numeric constants representing max, min values Number.MAX_VALUE Number.MIN_VALUE
2010-12-14, 3880👍, 0💬

How to have the status line update when the mouse goes over a link?
How to have the status line update when the mouse goes over a link? &lt;a href="javascript.shtml" onmouseover="window.status='Hi There!';return true" onmouseout="window.status='';r eturntrue">Look at the Status bar&lt;/a> Look at the Status bar as your cursor goes over the link.
2011-03-01, 3786👍, 0💬

<< < 21 22 23 24 25 26 27 >   Sort: Date