Jquery radio button show and hide divs?

It would be better if you post the part of HTML with the localBank stuff.

It would be better if you post the part of HTML with the . LocalBank stuff. But, if I have understood your problem correctly, it won't hide your div because the handler doesn't get called (the input doesn't have a value ending with 123 indeed).

You can attach the handler to all of the inputs and then, inside the handler, show the div only if the clicked input has a value ending with 123. Something like this: $(". LocalBank").hide(); $("input").

Click(function() { var bank = $(this).val(); $(". LocalBank").hide(); if (bank. IndexOf(/123$/) { $("#localBank"+bank).show(); } }).

$(". LocalBank").hide(); $("input"). Click(function() { var bank = $(this).val(); if (bank.

IndexOf("123") > -1){ $("#localBank"+bank).show(); }else{ $(". LocalBank").hide(); } }).

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