In this line of code, I'm looking for a div whose Id is in variable
b1, and which has an input button field whose value is "Show" or
"Hide", and this line is to toggle those values.


$(("[id$="+b1+"]") input).attr(value, attr(value)
=="Hide"?"Show":"Hide");

This doesn't work, and Firebug gives me the error "missing ) after
argument list"

Does anyone have an idea what the problem might be?

Reply via email to