471,887 Members | 1,210 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

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

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

107 100+
I want to repeat executing
a seri of the code in page in interval periodic time
without use from infinite loop
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 1392
5,058 Expert 4TB

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
107 100+
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
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
107 100+
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
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 YellowAndGreen | last post: by
reply views Thread by zermasroor | last post: by

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.