473,795 Members | 2,887 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Q: "clicked" buttons to stay clicked

I'm putting together a very simple web page with radio buttons that
indicate the status of an item. The page won't be viewed except by 10
or so viewers inside a network. I want the viewers to be able to click
a radio button and then for that button to stay "clicked" when the
page is viewed again later - when the next viewer will click another
button to indicate the new status. I'm not having any luck finding
code to help me do this. I can create the buttons and they're
clickable but they don't stay clicked when the page is closed. Any
help with this problem will be greatly appreciated. Thank you.
Jul 20 '05 #1
4 2336
On 6 Mar 2004 22:29:50 -0800, Bill <be******@yahoo .com> wrote:
I'm putting together a very simple web page with radio buttons that
indicate the status of an item. The page won't be viewed except by 10
or so viewers inside a network. I want the viewers to be able to click
a radio button and then for that button to stay "clicked" when the
page is viewed again later - when the next viewer will click another
button to indicate the new status. I'm not having any luck finding
code to help me do this. I can create the buttons and they're
clickable but they don't stay clicked when the page is closed. Any
help with this problem will be greatly appreciated. Thank you.

Can't do this in HTML. You'd need to set a cookie, as far as I understand.
However, I don't understand far enough to be able to advise you how.
Jul 20 '05 #2
Neal <ne*****@spamrc n.com> wrote:
Can't do this in HTML.
Apparently not. And the question made it rather clear it's not about
authoring for the WWW either.
You'd need to set a cookie, as far as I understand.


No, cookies would not help, unless (maybe) if all users use the very
same browser, i.e. the same copy of a browser in a specific computer.
The selections would need to be stored on the _server_. Actually this
could well be done using normal WWW technologies-

--
Yucca, http://www.cs.tut.fi/~jkorpela/
Pages about Web authoring: http://www.cs.tut.fi/~jkorpela/www.html

Jul 20 '05 #3
On Sun, 7 Mar 2004 07:21:38 +0000 (UTC), Jukka K. Korpela
<jk******@cs.tu t.fi> wrote:
... the question made it rather clear it's not about
authoring for the WWW either.


The newsgroup choice would seem to beg response based on authoring in html
for the WWW...
Jul 20 '05 #4
"Jukka K. Korpela" <jk******@cs.tu t.fi> wrote:
Neal <ne*****@spamrc n.com> wrote:
Can't do this in HTML.
Apparently not. And the question made it rather clear it's not about
authoring for the WWW either.
You'd need to set a cookie, as far as I understand.


No, cookies would not help, unless (maybe) if all users use the very
same browser, i.e. the same copy of a browser in a specific computer.


And they all log in under the same account.
The selections would need to be stored on the _server_. Actually this
could well be done using normal WWW technologies-

--
Harlan Messinger
Remove the first dot from my e-mail address.
Veuillez ôter le premier point de mon adresse de courriel.
Jul 20 '05 #5

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

Similar topics

3
4275
by: news | last post by:
I'm working with a CGI program that was using several standard buttons for input using <input type="submit" name="abuttonName" ... Now, I'm trying to replace the standard buttons with images using an onClick function. For 1 button it's easy enough - document.forms.submit(); but how do I let the CGI script know which one of the buttons were clicked?
7
2034
by: calan | last post by:
I need a dialog box with Yes, No, and Cancel buttons that pops up when a link is clicked. I'm using asp on the server side, and basically, if the user clicks yes, I want to go to a certain page and pass a certain variable value. For example: href="my_page.asp?answer=yes" If they click no, I would call :
2
4680
by: kma | last post by:
I am designing an Access 2000 database on a computer running Windows 98. I have one form with several tabs; all of which have sub forms, some with a subform on a subform. For example, on my main Job form I have a tab for PO's to keep track of all purchase orders pertaining to a specific job. The first subform is for the PO numbers related to the jobs on the main form and the next subform is for all of the PO lines for each PO. ...
6
4051
by: GD | last post by:
Hi, I wonder how to disable the "submit" behavior of a button. What I want is to assign values to dynamically added user controls without page postback. Problem: dynamically created control can not be accessed because the button click trigers page postback(see sample code). When the button is clicked, an error occurs: "System.NullReferenceException: Object reference not set to an instance of an object." Please help. Thanks.
3
2896
by: Tony | last post by:
I've done a fair bit of searching on this, but I want to be certain about what I've found - so here goes with a long example and three questions: For clarity, let me give an example (a number of the pages I found had some ambiguity). Say I have a page with 2 buttons ( A and B, for simplicity) and each button will make a different "ajax" request, for data to be placed in a corresponding DIV. For sake of example, we won't consider...
3
2683
by: eholz1 | last post by:
Hello PHP programmers. I had a brilliant idea on one of my pages that selects some data from my mysql database. I first set the page up to display some info and an image, just one item, with a row of data, etc. then I thought it would be nice to do a select, and perhaps an update (the title of the image) on the same page.
11
5339
by: dana1 | last post by:
I have a form which contains some buttons. The buttons use some of the standard images that come with access 2003 (e.g., the move next record image, or the sort ascending/descending images). The default behavior for access is to give the button a "highlighted" appearance when the button is hovered with the mouse. My problem is that these buttons permanently have that "highlighted" appearance after they have been clicked. With my XP theme,...
2
4959
by: =?Utf-8?B?TG9zdEluTUQ=?= | last post by:
Hi All, I am trying to determine if the user clicked the "x" close button within the controlbox of the form (top right corner - next to minimize and maximize buttons). I am using the datagridview within VB2005. I validate the values in the row when the user leaves the row via the grid's RowValidating event. I want to allow the user to exit the application by clicking the "x".
0
10215
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10165
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
10001
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
9043
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
6783
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
5437
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
5563
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4113
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
3
2920
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.