back = $("#contactus_"+id).prev();
I’m probably asking a simple question, but how do I get at .up_btn class from the id above?
normally to target this class i would do $(“#contactus_”+id+” .up_btn”) however in this instance I can’t place the class name in there like that since I want the previous sibling’s child.
Thanks
If you mean
.up_btnis found in that previous sibling,To use it with the
backvariable,