The Saint-Gobain Glassolutions product configurator displays or hides interface panels based on the user's selections. Write a function that generates the exact jQuery command needed to show or hide an HTML element.
Given a CSS selector and a Boolean visibility value, return $(selector).show(); when the element should be visible, or $(selector).hide(); when it should be hidden. The selector must be inserted between $( and ) and preserved exactly.
Implement jquery_visibility_command(selector, visible).
selector is a non-empty string containing a valid CSS selector.visible is a Boolean.def jquery_visibility_command(selector, visible):