469,337 Members | 6,013 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,337 developers. It's quick & easy.

executing a seri of the code in page in interval periodic time

oranoos3000
107 100+
hi
I want to repeat executing
a seri of the code in page in interval periodic time
without use from infinite loop
and
i prefer that page is not refreshed only a seri of the code is execute.
this codes execute repeatedly

How can i carry out this work?
thanks a lot
Jan 18 '09 #1
5 1337
Atli
5,058 Expert 4TB
Hi.

So... you want your code to be executed repeatedly, without refreshing the page, and without using a loop?

I'm not sure we can give you a proper answer with such a limited amount of information.
It seems you have a very specific task in mind.

Could you perhaps elaborate on what that might be?
If you tell us what it is you are trying to accomplish here, we might be able offer some suggestions on how to do that.
Jan 18 '09 #2
oranoos3000
107 100+
hi
I want to write that is something like the chat room
or a forum that for online user if come a message
this script without refreshing page in a part of page show count of message
have recieved recently and with click on this number
list message that received recently is shown
and with click on one , the content is shown
this messages is inserted to database
and my another issue is compute count the online user
and show them on page without refreshing page after each change
thanks a lot
Jan 21 '09 #3
Atli
5,058 Expert 4TB
Ah, OK I see.

That would be a job for JavaScript and AJAX.
I suggest you read this tutorial. See where that gets you.

I'll move this over to the JavaScript forum.
Jan 21 '09 #4
oranoos3000
107 100+
hi
excuse me
i want to put a picture on the site that by click on this picture
a print of current page is got,how can I do ?(with php or javascript)
thanks very much for your help
Jan 24 '09 #5
acoder
16,027 Expert Mod 8TB
That's a completely different problem from your original question. See your thread http://bytes.com/topic/javascript/an...javascript-php

Did you manage to solve the problem which is the subject of this thread?
Jan 26 '09 #6

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

7 posts views Thread by Willem | last post: by
16 posts views Thread by graham.reeds | last post: by
5 posts views Thread by nishantxl | last post: by
7 posts views Thread by tshad | last post: by
15 posts views Thread by sb5309 | last post: by
reply views Thread by suresh191 | last post: by
reply views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
1 post views Thread by Marylou17 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.