Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes HTML, CSS and JavaScript and the fly likes how to use form varialble  with in the page without submitting the form Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Android Security Essentials Live Lessons this week in the Android forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "how to use form varialble  with in the page without submitting the form" Watch "how to use form varialble  with in the page without submitting the form" New topic
Author

how to use form varialble with in the page without submitting the form

Sujatha Kalluri
Ranch Hand

Joined: Oct 09, 2002
Posts: 33
Hi,

I know it is not good question.... but I want some solution..

any hints please ..

I have a form, in which there is select box, on change of the select box in the form, I need to use the selected value dynamically to color on of the <TD> block in the page, I am using the css class for filling background color of the <TD> block, but I need to change the color dynamically on change of select box.

any help please...
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60800
    
  65

OK, so when the value in the element changes, you can change the CSS or the background color. You haven't told us what part of this has you stymied.

We're not going to write the code for you, so you have to let us know what you've written so far and what has you confused.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
I am guessing you need to work with these


Hopefuly you can figure it out

Eric
 
Don't get me started about those stupid light bulbs.
 
subject: how to use form varialble with in the page without submitting the form
 
Similar Threads
doesnt display struts tags in normal html form
Javascript Dynamic Dropdown Box validation
How to check if textboxes are null
Setting the attribute of a tag dynamically.
JSP returning old data, database was changed correctly!