ALLInterview.com :: Home Page kalaajkal.Com
 Advertise your Business Here     
Browse  |   Placement Papers  |   Company  |   Code Snippets  |   Certifications  |   Visa Questions
Post Question  |   Post Answer  |   My Panel  |   Search  |   Articles  |   Topics  |   ERRORS new
   Refer this Site  Refer This Site to Your Friends  Site Map  Bookmark this Site  Set it as your HomePage   interview questions urls   External Links  Contact Us     Login  |  Sign Up                      
tip   To Refer this Site to Your Friends   Click Here
Google
 
Categories >> Software >> Scripts >> Ajax
 
 


 

Back to Questions Page
 
Question
How can we assign an object in Java Script??

For Example:-
-----------
If i create an object "obj1"
var obj1 = Object();
obj1.name = "hari";

and if i want to assign it to two objects "obj2" and "obj3" 
with different names...

obj1.name = "gopi"
obj2 = new Object(obj1);

obj1.name = "raghu"
obj3 = new Object(obj1)

Now ob2.name become to "raghu" from "gopi". WHY?
how to solve the above problem?
Rank Answer Posted By  
 Question Submitted By :: Seshumca34
I also faced this Question!!   © ALL Interview .com
Answer
var obj1 = Object(); 
  obj1.name = "hari";

  obj1.name = "gopi";  
  obj2 = new Object(obj1);
  
  //preserving name property of obj2 through obj4 
  var obj4=new Object();
  obj4.name=obj2.name;  
  
  obj1.name = "raghu";
  obj3 = new Object(obj1);
 
  obj2=new Object(obj4);
  alert("obj2 name="+obj2.name+" obj3 name="+obj3.name)
 
0
Sandesh Magdum
 
 
Question
What is the Difference between AJAX and Javascript?
Rank Answer Posted By  
 Question Submitted By :: Guest
This Interview Question Asked @   T3-Softwares
I also faced this Question!!   © ALL Interview .com
Answer
AJAX is not different from Javascript.
Like , a child can't be differentiated by a mother.
AJAX is a acronym for 'Asynchronous Javascript And XML'.

AJAX is a new approach towards page reloading.

If you want a specific book , you will purchase that book
and not the whole book store.

Similarly if you want a small part of the data in a web page 
, you will not go for whole page reload, you woould prefer
to get the data you want.


 
4
Sandesh Magdum
 
 
Question
what is ajax
Rank Answer Posted By  
 Question Submitted By :: Guest
I also faced this Question!!   © ALL Interview .com
Answer
Asynchronous JavaScript and XML, is a web development
technique for 
creating interactive web applications.

Like DHTML, LAMP and SPA, Ajax is not a technology in itself, 
but a term that refers to the use of a group of technologies.
 
0
Prakash Solanki
 
 
 
Answer
AJAX (Asynchronous JavaScript and XML) is a newly coined 
term for two powerful browser features that have been 
around for years, but were overlooked by many web 
developers until recently when applications such as Gmail, 
Google Suggest, and Google Maps hit the streets. 

Asynchronous JavaScript and XML, or Ajax (pronounced "Aye-
Jacks"), is a web development technique for creating 
interactive web applications using a combination of XHTML 
(or HTML) and CSS for marking up and styling information. 
(XML is commonly used, although any format will work, 
including preformatted HTML, plain text, JSON and even 
EBML). 
The Document Object Model manipulated through JavaScript to 
dynamically display and interact with the information 
presented 
The XMLHttpRequest object to exchange data asynchronously 
with the web server. In some Ajax frameworks and in some 
situations, an IFrame object is used instead of the 
XMLHttpRequest object to exchange data with the web server. 
Like DHTML, LAMP, or SPA, Ajax is not a technology in 
itself, but a term that refers to the use of a group of 
technologies together. In fact, derivative/composite 
technologies based substantially upon Ajax, such as AFLAX, 
are already appearing. 
Ajax applications are mostly executed on the user's 
computer; they can perform a number of tasks without their 
performance being limited by the network. This permits the 
development of interactive applications, in particular 
reactive and rich graphic user interfaces. 
Ajax applications target a well-documented platform, 
implemented by all major browsers on most existing 
platforms. While it is uncertain that this compatibility 
will resist the advent of the next generations of browsers 
(in particular, Firefox), at the moment, Ajax applications 
are effectively cross-platform. 
While the Ajax platform is more restricted than the Java 
platform, current Ajax applications effectively fill part 
of the one-time niche of Java applets: extending the 
browser with portable, lightweight mini-applications. 

Ajax isn't a technology. It's really several technologies, 
each flourishing in its own right, coming together in 
powerful new ways. Ajax incorporates: 
* standards-based presentation using XHTML and CSS; 
* dynamic display and interaction using the Document Object 
Model; 
* data interchange and manipulation using XML and XSLT; * 
asynchronous data retrieval using XMLHttpRequest; 
* and JavaScript binding everything together.
 
0
Rajendra
 
 
Question
what is meant by AJAX and its purpose?
Rank Answer Posted By  
 Question Submitted By :: Saichandv
I also faced this Question!!   © ALL Interview .com
Answer
AJAX IS WAY THAT PROVIDE MINIMAL PART OF PAGE TO BE REFRESH
RAHTER THAN REFRESH COMLETE PAGE, WHICH MAKE DATA SENT TO 
SERVER & RECEIVE BY BROWSE MAKE LESS & INCRESE PERFOMANCE
 
0
Pritesh
 
 
Answer
Asynchronous Javascript And XML.(AJAX).

The web pages get refreshed asychronously to fetch the
responses from servers irrespective of client requests.This
will reduce the client interactions with the server every time
it needs to get the most recent data.
 
0
Padma
 
 
Answer
BY USING AJAX ,
            IT CAN REDUCE THE PARTICULAR NETWORKTRAFFIC,
             AND IT IS MOSTIL POPULAR IN INTERNET.
 
0
Karthikamburu
 
 
Question
what is the active x dll used for ajax. explain y we use 
ajax?
Rank Answer Posted By  
 Question Submitted By :: Sheetal
This Interview Question Asked @   Cognizent
I also faced this Question!!   © ALL Interview .com
Answer
why we use AJAX.

AJAX is a technique for creating better,faster and more 
interactive web applications. Using AJAX javascript can 
interact with the web server and trade data without 
reloading the page.
 
0
Kala
 
 
Answer
One major drawback of ajax is that javascript must be
eneabled in the browser,without which it wont function properly.
 
0
Sandeep Karmakar
 
 
Question
how long it will take to come the interview result of 
infosys?
Rank Answer Posted By  
 Question Submitted By :: Rims
This Interview Question Asked @   Infosys , Google
I also faced this Question!!   © ALL Interview .com
Answer
IT DEPENDS UPON REQUIREMENT NEED(WHEATHER FOR PROJECT BASE 
URGENT/FOR GROWING SENSEX SHARE VALUE
 
0
Viswas
 
 
 
Back to Questions Page
 
 
 
 
 
   
Copyright Policy  |  Terms of Service  |  Help  |  Site Map 1  |  Articles  |  Site Map  |   Site Map  |  Contact Us
   
Copyright © 2007  ALLInterview.com.  All Rights Reserved.

ALLInterview.com   ::  Forum9.com   ::  KalAajKal.com