469,623 Members | 1,544 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,623 developers. It's quick & easy.

asp.net: how can i change backcolor of a button every second?

Hi , Im trying to change the button backcolor every second somhow for example from blue to red and after a second red to blue and so on... can somebody please help?
(Im using asp. net and the language is C#)
Nov 4 '07 #1
2 1261
Shashi Sadasivan
1,435 Expert 1GB
Hi , Im trying to change the button backcolor every second somhow for example from blue to red and after a second red to blue and so on... can somebody please help?
(Im using asp. net and the language is C#)
you would have to use javascript for this.
Not usre how to go about it but the javascript forum might help you.

But on every postback that occours, the buttons colour would change to the original. (until the javascript code kicks in)
Nov 4 '07 #2
ok.. Thanks anyway for the attention :-)
Nov 4 '07 #3

Post your reply

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

Similar topics

10 posts views Thread by James McGivney | last post: by
reply views Thread by Miquel | last post: by
2 posts views Thread by Grey | last post: by
reply views Thread by shamirza | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.