473,804 Members | 2,296 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

how to use Ajax

Hi all,
Im working in javascript, I want to use Ajax in javcascript,
Can u tel me how to use ajax in javascript, whether i have to include
any code as like to include *css or *.js file, what are all the
benefit of it?

Thank U

Apr 26 '06 #1
43 2179
ba************* ****@gmail.com wrote:
Hi all,
Im working in javascript, I want to use Ajax in javcascript,
Can u tel me how to use ajax in javascript, whether i have to include
any code as like to include *css or *.js file, what are all the
benefit of it?

Thank U

I'm not sure who U is, but google can certainly help.

Search, read and come back with specific questions, the subject is too
broad.

--
Ian Collins.
Apr 26 '06 #2

ba************* ****@gmail.com wrote:
Hi all,
Im working in javascript, I want to use Ajax in javcascript,
Can u tel me how to use ajax in javascript, whether i have to include
any code as like to include *css or *.js file, what are all the
benefit of it?

Thank U


http://en.wikipedia.org/wiki/AJAX

If you are using AJAX you will likely include a .js file in your html
document.

http://www.ajaxtoolbox.com

also see the yahoo ui connection library

Peter

Apr 26 '06 #3
ba************* ****@gmail.com wrote:
Hi all,
Im working in javascript, I want to use Ajax in javcascript,
Can u tel me how to use ajax in javascript, whether i have to include
any code as like to include *css or *.js file, what are all the
benefit of it?

Thank U

start here:
http://www.w3schools.com/ajax/default.asp

Basic Ajax usage is actually suprisingly simple.
It boild down to:
1) A function that will return a XMLHTTPObject (differs from browser to
browser. A handy routine is published in the above URL)
2) Use this object to retrieve some content from somewhere.
(In most cases this will be a script on the server that does something
usefull, like querying a database). So you must be able to write PHP or ASP
or whatever your serversideskill are.)
3) Place the content returned by the XMLHTTPObject in some container via
javascript, often a div or a span (can it be anything else?).

That's about it.

In the good ols days before this XMLHTTPObject programmers had to use all
kind of tricks, like hidden frames, to communicate with the server without
reloading the whole page. Now life is easier.

Enjoy.

Regards,
Erwin Moller
Apr 26 '06 #4
thank u for ur explation

Apr 26 '06 #5
> Hi all,
Im working in javascript, I want to use Ajax


How do you know that you want to use Ajax if you don't know what it is or
what it does?

--
Matt Kruse
http://www.JavascriptToolbox.com
http://www.AjaxToolbox.com
Apr 26 '06 #6
On Wed, 26 Apr 2006 07:04:32 -0500, "Matt Kruse"
<ne********@mat tkruse.com> wrote:
Hi all,
Im working in javascript, I want to use Ajax


How do you know that you want to use Ajax if you don't know what it is or
what it does?


'cos it's a CV box to tick...

Jim.
Apr 26 '06 #7
ba************* ****@gmail.com wrote:
Hi all,
Im working in javascript, I want to use Ajax in javcascript,


Why? As you don't seem to understand the fundamental basics, or even
know what Ajax is (apart from a new buzz-word for a seven-year old
technology), I wonder why you want to use it. I suspect there are other
things you should learn first.

--
Hywel
http://kibo.org.uk/
Apr 26 '06 #8
JRS: In article <44************ ***@news.indivi dual.net>, dated Wed, 26
Apr 2006 12:26:06 remote, seen in news:comp.lang. javascript, Jim Ley
<ji*@jibbering. com> posted :

Jim.


ISTM that the FAQ has not been posted recently.

--
© John Stockton, Surrey, UK. ?@merlyn.demon. co.uk Turnpike v4.00 IE 4 ©
<URL:http://www.jibbering.c om/faq/> JL/RC: FAQ of news:comp.lang. javascript
<URL:http://www.merlyn.demo n.co.uk/js-index.htm> jscr maths, dates, sources.
<URL:http://www.merlyn.demo n.co.uk/> TP/BP/Delphi/jscr/&c, FAQ items, links.
Apr 27 '06 #9
On Thu, 27 Apr 2006 12:58:31 +0100, Dr John Stockton
<jr*@merlyn.dem on.co.uk> wrote:
JRS: In article <44************ ***@news.indivi dual.net>, dated Wed, 26
Apr 2006 12:26:06 remote, seen in news:comp.lang. javascript, Jim Ley
<ji*@jibbering .com> posted :

Jim.


ISTM that the FAQ has not been posted recently.


Rats, looking at it, I no longer have ability to post to the regular
news server I was using, I could use my news.individual .net account
but that needs me a new posting machine that can do the
authentication.

If anyone's got a perl or python or ... something script to do the
posting to a news server with authentication it would be appreciated.

Cheers,

Jim.
Apr 27 '06 #10

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

11
2346
by: Yarco | last post by:
I want to use "Ajax" to create my web for hobby. But i don't know whether "Ajax" is mature... And what about with php? Someone have experience on it? ....
4
4330
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but from within an inline function. Within the AJAX object: this.xmlhttp = new XMLHttpRequest(); this.response = ''; //to contain the response text OR xml var that = this; //since we cannot reference this within the
0
1849
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
0
1846
by: melledge | last post by:
Ajax Developers' Day to Kick Off XTech 2006 Conference Industry experts offer insight into next generation of the Web ALEXANDRIA, VIRGINIA, USA - April 25, 2006 - In response to the rapidly developing world of Ajax user interfaces on the browser, IDEAlliance (www.idealliance.org) announced today that its annual XTech Conference will kick off on May 16 with Ajax Developers' Day. XTech 2006 (www.xtech-conference.org), to be held May...
1
16517
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX - microlink pattern tutorial : A microlink is a link that opens up
10
3078
by: =?Utf-8?B?WWFua2VlIEltcGVyaWFsaXN0IERvZw==?= | last post by:
controlsPlease could some of you here post some of your live examples of AJAX (esp drag panels, collapsable panels, and popup menu.) (It's one thing to talk about how great something is, but it's another to really see how great something is.) Thanks -- Share The Knowledge. I need all the help I can get and so do you!
2
2265
by: soni2926 | last post by:
hi, does anyone know of any good books on ajax and asp.net, one that teaches ajax itself before jumping in atlas? I wanted to get an understanding of ajax and how to use it, most books i've seen on .net and ajax seem to jump into atlas right away, does anyone know of any that teach ajax itself and then later get into atlas?
1
3419
by: shaunwo | last post by:
I'm an AJAX / DOM Novice (at best) and trying to figure out how to write the value to a couple input fields. I don't remember exactly where I got the ajax.js file I'm using from (went to the website that I see in the comments, but no luck there), but what I already have works GREAT to populate the options in a select box. Now I'm trying to take that same code and get it to write the value to a couple input boxes. Here's a link to my ajax...
11
3056
by: =?Utf-8?B?R2VyaGFyZA==?= | last post by:
I have run into a situation that if a page/tab that uses the Ajax toolkit (using .net version 3.5) is closed before the Ajax enable controls complete loading, then IE locks up. Does it in both IE7 and IE8. There is no issue when the controls are allowed to complete loading. Can you please tell me the best practice that handles this? Thanks.
0
9714
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
10599
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
1
10347
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9173
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7635
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6863
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
5531
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4308
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3832
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.