it is possible to write more than one ajax request on a single page?can any one help me?thanks in advance

Yep, it is indeed.

Member Avatar for diafol

Show your code so far so we know if you're using vanilla js or a library like jquery / prototype etc.
Ajax requests are asynchronous by default, so you could have a situation where a second call is made before the first is finished. It may not be a problem, but if your second request depends on the response of the first, you may to nest them. One dirty trick is to make the requests synchronous, but that is not recommended as it could leave things hanging for some considerable time and goes against the whole idea somewhat.

So post your code so far, whith an explanation of what you're trying to achieve.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.