$(".hubpass").not(targetBox).hide();
it's hiding the
other two div classes of the option not being changed.
var inputValue = $(this).attr("value");
But, hopefully obviously, this is just my attempt at having _an_ answer for you. I do hope there are people who know something about jQuery that can help.
My next problem is trying to remove the 'required' element from inputs
in a hidden div so the submission process runs smoothly.
Have you tried setting a default value, so that it always has something? It seems like the way to do so is set the value as (some result) (or
sign) "default value".
Maybe that's not an acceptable workaround, though.
My primary school had a motto 'Learn by Doing' and I am certainly doing that at the moment. But I am taking it in measured steps spanning days of intermittent tinkering so as not to get too frustrated and also taking
the time to experiment.
Sysop: | echicken |
---|---|
Location: | Toronto, Ontario |
Users: | 2,224 |
Nodes: | 6 (0 / 6) |
Uptime: | 213:31:33 |
Calls: | 14,143 |
Calls today: | 1 |
Files: | 295 |
Messages: | 551,114 |