Skip to main content
replaced http://stackoverflow.com/ with https://stackoverflow.com/
Source Link

I think you are missing the "#" sign, that jQuery needs to interpret uniqueDivId as an id.

jQuery('#' + uniqueDivId.value).toggle();

http://stackoverflow.com/questions/743994/how-do-i-select-an-element-in-jquery-by-using-a-variable-for-the-id

I think you are missing the "#" sign, that jQuery needs to interpret uniqueDivId as an id.

jQuery('#' + uniqueDivId.value).toggle();

https://stackoverflow.com/questions/743994/how-do-i-select-an-element-in-jquery-by-using-a-variable-for-the-id

Source Link

I think you are missing the "#" sign, that jQuery needs to interpret uniqueDivId as an id.

jQuery('#' + uniqueDivId.value).toggle();

http://stackoverflow.com/questions/743994/how-do-i-select-an-element-in-jquery-by-using-a-variable-for-the-id