Show (Visible/Hidden NOT Show/Hide) HTML Element based on form select box selection?

Take a look at the select tag: Make a Choice Selection1 Selection2 Selection3 Now you must give a selector class to each element you want to show/hide: Im Not In display:none Mode I'm In visibility:hidden Mode. Big difference. " Now look at the javascript: jQuery(document).

Ready(function(){ jQuery('inputname="SelectBox"'). Change(function(){ jQuery('. Toggle').

Css({"visibility":"hidden"});//de all jQuery("#" + jQuery(this).val()). Css({"visibility":"visible"}); }); }).

Ya, the first one, below, worked after I stuck Jquery link in the HTML. Was this one doing something different? I noticed a few syntax changes and an addition or two.

Does . Toggle just tell x to simply change states, as the word implies? Seems night and day to that simple thing above that I posted.

Was straight forward. I'm not familiar with any reserved words, conventions, etc. JS is breand new to me, literally. But I'm enjoying what it cans seemingly do.

The problem is I don't know where to start for what I need it for. :) – adg Apr 17 at 12:19 @adg Yes the toggle class is just to use as a selector.It could be anything like "xyz". I just tried to make code more understandable.

Didn't change anything as such. – Naveed Ahmad Apr 17 at 12:28.

You can do something like this: Make a Choice First element Second element Third element this in javascript: jQuery(document). Ready(function(){ jQuery("#selectBox"). Change(function(){ jQuery(".

Toggle").hide(); jQuery("#" + jQuery(this).val()).show(); }); }).

Actually, I'm not sure what that does. Anyway, upon reading my own "title", I realized I stuck "Jquery" in there. Jquery isn't necc.

Any Jscript will do, I'm sure. I've been reading some much I've branded, in my mind, JaveScript=Jquery. Like Kleenex is to Tissue.My apologies.

– adg Apr 17 at 8:04 1 de/Show will break the form, hence me wanting the Visible/ I'm just not familiar with how to apply that to HTML form Select boxes. – adg Apr 17 at 10:00 Okay, in that case you can replace show() with css({"visibility":"visible"}) and hide() with css({"visibility":"hidden"}) – Naveed Ahmad Apr 17 at 10:04 Will give it a shot. – adg Apr 17 at 10:22 Erroring on me.

Looking at it. Exhausted. – adg Apr 17 at 10:41.

I cant really gove you an answer,but what I can give you is a way to a solution, that is you have to find the anglde that you relate to or peaks your interest. A good paper is one that people get drawn into because it reaches them ln some way.As for me WW11 to me, I think of the holocaust and the effect it had on the survivors, their families and those who stood by and did nothing until it was too late.

Related Questions