473,387 Members | 1,585 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,387 software developers and data experts.

Maintaining focus after refresh

Hello All,
I set some table properties (background color, border style, etc) as a
result of an onclick event in various cells. However, when I refresh the
page it restores the default settings (as set up in the css file) as I would
expect. Can I get some help on how to get my page to remember it's
settings??
TIA.
Best Regards,
Steve
May 23 '06 #1
2 1926
Stevek wrote:
Hello All,
I set some table properties (background color, border style, etc) as a
result of an onclick event in various cells. However, when I refresh the
page it restores the default settings (as set up in the css file) as I would
expect. Can I get some help on how to get my page to remember it's
settings??


You could either use cookies in the client, or pass the settings back to
the server with a hidden form element and have the server pass them back
in the refresh URL.

--
Ian Collins.
May 23 '06 #2
Thanks. That's what I thought.

"Ian Collins" <ia******@hotmail.com> wrote in message
news:4d*************@individual.net...
Stevek wrote:
Hello All,
I set some table properties (background color, border style, etc) as a
result of an onclick event in various cells. However, when I refresh the
page it restores the default settings (as set up in the css file) as I
would
expect. Can I get some help on how to get my page to remember it's
settings??


You could either use cookies in the client, or pass the settings back to
the server with a hidden form element and have the server pass them back
in the refresh URL.

--
Ian Collins.

May 23 '06 #3

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

Similar topics

1
by: jason | last post by:
Hello. I've got this page that refreshes automatically and I am able to set the focus on a specific field at page load with. However the cursor goes back to position 1. In some cases my users...
8
by: Bilal | last post by:
Hi I have an application with numerous pages. A couple of these pages include a functionality that allows it to be refreshed every 15 secs. My problem is that this "refreshing" works too well: THe...
4
by: lost hope | last post by:
hey guys, on the main page of my site, i have a login area (user/pass text boxes). when the user submits the form, the page is reloaded with with a global php variable "loggedIn" set to true. i...
2
by: S P Arif Sahari Wibowo | last post by:
Hi! Do you know how to put a form's Access-Visual-Basic-code that will force the form to be inserted, while the user has not type anything in the form, without changing focus, selection, etc.? ...
1
by: Jim Bayers | last post by:
This has been driving me crazy. server.transfer doesn't set the focus to the page I transfer to so when the user does a refresh, the results aren't what's expected. I have a datagrid on one...
0
by: Albert Pascual | last post by:
I am looking for a script that WHEN the IE window is in focus will start a timer to refresh the page, when the window is not in focus will stop the timer. When comes back to focus will refresh the...
5
by: jobi | last post by:
Hi, I'm trying to develop this vb.net application which gathers info. When I start the gathering process, I refresh text-fields in the form to see progress and to see where it gets. This works...
7
by: Nathan Sokalski | last post by:
I have a page which I dynamically add several usercontrols (*.ascx files) to using the following code: Public Sub Refresh() For Each section As DataRow In Me.GetSections().Rows...
4
by: =?ISO-8859-15?Q?Albe_V=B0?= | last post by:
In my Application, I need to make a certain graphical refresh, interrogating SqlServer, only if Application has focus (i.e. the title bar is blue). Interrogating .Focused property of various...
0
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,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
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$) { } ...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
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...
0
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,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
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...

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.