473,395 Members | 1,457 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,395 software developers and data experts.

Ajax and Javascript with PHP

lak
Hi friends,
I have to parse a XML file and when it is changed I need to change in
the front end.
If I use the settimeout() then it is working.
But I don't what to use the settimeout() function.

Is there any other way to do that?

Oct 6 '08 #1
4 1572
On Oct 6, 6:22*pm, lak <lakindi...@gmail.comwrote:
Hi friends,
I have to parse a XML file and when it is changed I need to change in
the front end.
If I use the settimeout() then it is working.
But I don't what to use the settimeout() function.

Is there any other way to do that?
It will bettre if ur write your question little descriptive.
So that we can try to answer it.

--------------------------------------------
http://phpinterviewanswers.blogspot.com/
Oct 7 '08 #2
lak
On Oct 7, 1:10 pm, Rider <shaha...@gmail.comwrote:
On Oct 6, 6:22 pm, lak <lakindi...@gmail.comwrote:
Hi friends,
I have to parse a XML file and when it is changed I need to change in
the front end.
If I use the settimeout() then it is working.
But I don't what to use the settimeout() function.
Is there any other way to do that?

It will bettre if ur write your question little descriptive.
So that we can try to answer it.

--------------------------------------------http://phpinterviewanswers.blogspot.com/
I am having an XML file that contains some records.
I need to parse that file and display the records in the form of
table.
If I change the file, i.e. if I modified some contents in the XML
file, that needs to be updated in the table automatically.

For that I used the settimeout(Ajaxfunc,1000). So this will call the
ajax function and from the Ajax function I am getting the updated
content.

But I don't want to use the settimeout() function.

Is there any other way?
Oct 7 '08 #3
lak wrote:
On Oct 7, 1:10 pm, Rider <shaha...@gmail.comwrote:
>On Oct 6, 6:22 pm, lak <lakindi...@gmail.comwrote:
>>Hi friends,
I have to parse a XML file and when it is changed I need to change in
the front end.
If I use the settimeout() then it is working.
But I don't what to use the settimeout() function.
Is there any other way to do that?
It will bettre if ur write your question little descriptive.
So that we can try to answer it.

--------------------------------------------http://phpinterviewanswers.blogspot.com/

I am having an XML file that contains some records.
I need to parse that file and display the records in the form of
table.
If I change the file, i.e. if I modified some contents in the XML
file, that needs to be updated in the table automatically.

For that I used the settimeout(Ajaxfunc,1000). So this will call the
ajax function and from the Ajax function I am getting the updated
content.

But I don't want to use the settimeout() function.

Is there any other way?
Not in PHP. PHP is server side, and you need to have something pull
from the client side.

Ajax will work, as you found, and you'll get a better result for Ajax
questions in comp.lang.javascript. You can also use other client-side
programming such as flash or java applets.

--
==================
Remove the "x" from my email address
Jerry Stuckle
JDS Computer Training Corp.
js*******@attglobal.net
==================

Oct 7 '08 #4
lak wrote:
On Oct 7, 1:10 pm, Rider <shaha...@gmail.comwrote:
>On Oct 6, 6:22 pm, lak <lakindi...@gmail.comwrote:
>>Hi friends,
I have to parse a XML file and when it is changed I need to change in
the front end.
If I use the settimeout() then it is working.
But I don't what to use the settimeout() function.
Is there any other way to do that?
It will bettre if ur write your question little descriptive.
So that we can try to answer it.

--------------------------------------------http://phpinterviewanswers.blogspot.com/

I am having an XML file that contains some records.
I need to parse that file and display the records in the form of
table.
If I change the file, i.e. if I modified some contents in the XML
file, that needs to be updated in the table automatically.

For that I used the settimeout(Ajaxfunc,1000). So this will call the
ajax function and from the Ajax function I am getting the updated
content.

But I don't want to use the settimeout() function.

Is there any other way?
What do you have against settimeout?
Oct 8 '08 #5

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

Similar topics

4
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...
0
by: melledge | last post by:
Ajax Developers' Day added to XTech 2006 agenda XTech 2006 - 17-19 May - Hotel Grand Krasnopolsky - Amsterdam, The Netherlands
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
1
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 -...
2
by: Nathan Sokalski | last post by:
I am moving my website from my machine to my webhost, and need some help with what extra files I need to include due to the fact that I used AJAX in my site. Everything on the site is obviously...
0
by: Tarik Monem | last post by:
I have been working on an all AJAX/DOM web site which is set to go live today and I thought I'd share my discoveries with all of you whom have helped me when I have encountered different issues along...
10
by: paulie | last post by:
Hi, I have been experiencing an issue when trying to use AJAX to reload a DIV area using a timer of 2000ms, which contains a html page with another DIV and javascript. Scenario -------------...
2
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...
2
by: Johnson | last post by:
While I have done a substantial amount of ASP.NET programming, I have only dabbled with AJAX (update panels and a 3rd party JSON setup - jayrock - that directly updates the DOM). In any case, I'm...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
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,...
0
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.