473,652 Members | 3,173 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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

oranoos3000
107 New Member
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 1537
Atli
5,058 Recognized Expert Expert
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 New Member
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 Recognized Expert Expert
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 New Member
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 Recognized Expert Moderator MVP
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

7
40189
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 so. It should be possible, Right? I don't know much about JavaScript. Thanks for the help.
4
1362
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, because the dynamically generated code they have to execute involves variables that have been thrown out by the time of execution. In the first of the two following code examples, my interval declaration includes code that relies on variables...
16
2038
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 script is left untouched. However I want to take the script out of the page and have it as a seperate file that can be cached, reducing serving costs - the page gets hit a couple of thousand times per day, sometimes as high a 5K, so any...
7
2613
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 process but the process should scale to 100 or even 1000 loops. If the functions contained within the loop, some of which go out to web services, take an indeterminate amount of time, how do I design my windows service so that if the code takes...
5
8898
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 number and atomic mass) for each periodic number entered by user. I am thinking to input all the data regarding each periodic element number in form of class. Please give your opinion on the correct design method for the same.
7
2805
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 executing twice on load of page and can't figure out why. I was writing out to a text file in the SaveViewState event and it was writing it twice everytime a page was loaded (whether on an initial load of the page or Postback). I took out the...
0
1264
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 the time interval is weekly and datetime is 15/08/2007 09:12:26 pm...then i have to execute the stored procedure on 15th at the above specified time.....from this day the system should execute the same stored procedure every week at 09:12:26...
15
4797
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. Imagine a case when someone gets to a form with CAPTCHA, a session will be started in the server; and then the person decides to jump to another site without filling the form. The session data still exists in the server. If this scenario gets repeated...
1
5579
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 seems to have improved a lot compared to the earlier ones).* Unfortunately, I have limited knowledge of DB2, especially in setting the server parameters, their impact on an environment with high concurrency etc. As a result, we are getting very high...
0
8367
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
1
8467
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8589
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7302
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
5619
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
0
4291
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2703
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
1
1914
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
2
1591
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.