473,385 Members | 1,333 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,385 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 1528
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

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

Similar topics

by: Willem | last post by:
Can someone tell me how I can get a page(any page) on the Internet to refresh automatically every 5 minutes. I was thinking along the lines of having a HTML file on my C-drive with JavaScript to do...
by: zmcelrath87 | last post by:
I am having a problem involving the scope of timeouts and intervals. Since timeouts and intervals execute in the global scope, dynamically generated local interval/timeout declarations do not work,...
by: graham.reeds | last post by:
I am updating a website that uses a countdown script embedded on the page. When the page is served the var's are set to how long the countdown has left in minutes and seconds, but the rest of the...
by: hazz | last post by:
What happens if I set the timer interval for a period that is less than the time it will take to process the loop below? Right now my application is returning just a few items in an arraylist to...
by: nishantxl | last post by:
Hi there, I am looking to design a project using C++ The main objective of the project is to display details of periodic table elements such as periodic element name, properties(such as atomic...
by: tshad | last post by:
I thought I understood how the SaveViewState is working and was trying to use this (as per some code I found) to detect refreshes. It seemed to be working but I found that the SaveViewState was...
by: ravitunk | last post by:
hello all....i have a table with time interval(daily,weekly,monthly etc) and datetime columns...and based on the time interval and datetime..i have to execute a stored procedure.....for example if...
by: sb5309 | last post by:
When one uses CAPTCHA (form with verification code), a session is required to keep the session data. In examples that I have seen on the net, I did not see a session is closed after use. ...
by: sanjupommen | last post by:
I am in the process of exploring the possibility of providing our products on databases other than Oracle.I am able to migrate the data, procedures etc without too much effort (latest version of DB2...
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.