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

How do you convert numbers between different bases in JavaScript?
How do you convert numbers between different bases in JavaScript? Use the parseInt() function, that takes a string as the first parameter, and the base as a second parameter. So to convert hexadecimal 3F to decimal, use parseInt ("3F", 16);
2010-06-22, 4322👍, 0💬

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.
2011-01-25, 4317👍, 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.
2010-11-16, 4315👍, 0💬

interview.FYIcenter.com Links
Other Resources: Software QA Resources Developer Resources DBA Resources Windows Tutorials Java JAR Files DLL Files File Extensions Security Certificates Regular Expression Link Directories Interview Q &amp; A Biotech Resources Cell Phone Resources Travel Resources Frequently Asked Questions FYI...
2025-03-17, 4307👍, 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>
2010-10-19, 4305👍, 0💬

Referring to the sample code above, what value does I contain?
char s[] = {'a','b','c',0,'d','e','f',0}; int I = sizeof(s); Referring to the sample code above, what value does I contain? 1 3 2 6 3 7 4 8 5 9
2012-05-02, 4303👍, 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...
2010-10-12, 4288👍, 0💬

What Is Unix Timestamp
What is Unix timestamp? Unix timestamp, or Epoch timestamp, is defined as the number of seconds elapsed since midnight Coordinated Universal Time (UTC) of Thursday, January 1, 1970. It is used widely in Unix-like and many other operating systems and file formats. It is neither a linear representatio...
2012-01-02, 4282👍, 0💬

What can JavaScript programs do?
What can JavaScript programs do? Generation of HTML pages on-the-fly without accessing the Web server. The user can be given control over the browser like User input validation Simple computations can be performed on the client's machine The user's browser, OS, screen size, etc. can be detected Date...
2010-07-20, 4278👍, 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, 4273👍, 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. &lt;script type="text/javascript"> var USA_Texas_Austin = "521,289"; document.write("Population is "+eval("USA_"+"Texas_"+"Austin "));&lt;/script> This produces: Po...
2011-08-09, 4271👍, 0💬

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

Can you use both ADPATCH and OPATCH in application ?
Can you use both ADPATCH and OPATCH in application ? Yes you have to use both in application , for application patches you will use ADPATCH UTILITY and for applying database patch in application you will use opatch UTILITY.
2011-12-29, 4254👍, 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...
2010-12-07, 4244👍, 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, 4240👍, 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, 4232👍, 0💬

How can JavaScript be used to personalize or tailor a Web site to fit individual users?
How can JavaScript be used to personalize or tailor a Web site to fit individual users? JavaScript allows a Web page to perform "if-then" kinds of decisions based on browser version, operating system, user input, and, in more recent browsers, details about the screen size in which the browser is run...
2010-07-27, 4229👍, 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. &lt;script type="text/javascript"> var myMovie = new Object(); myMovie.title = "Aliens"; myMovie.director = "James Cameron"; document.write("movie: title is...
2011-08-02, 4222👍, 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, 4221👍, 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, 4209👍, 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, 4208👍, 0💬

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

"mutable" Keyword - What is "mutable"?
"mutable" Keyword - What is "mutable"? Answer1. "mutable" is a C++ keyword. When we declare const, none of its data members can change. When we want one of its members to change, we declare it as mutable. Answer2. A "mutable" keyword is useful when we want to force a "logical const" data member to h...
2012-03-30, 4199👍, 0💬

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