This week's book giveaways are in the Refactoring and Agile forums.
We're giving away four copies each of Re-engineering Legacy Software and Docker in Action and have the authors on-line!
See this thread and this one for details.
Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Cloud/Virtualization forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

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

 
Sujatha Kalluri
Ranch Hand
Posts: 33
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Pie
Posts: 64631
86
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Eric Pascarello
author
Rancher
Posts: 15385
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I am guessing you need to work with these


Hopefuly you can figure it out

Eric
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic