Ok, I have a list of radio buttons inside a DIV, this DIV slides down when I click on the span.
Now, when I select one of the radio buttons, the text in the range is replaced and the DIV will shift.
I also need to make a DIV when the switch list is copied, whenever the user clicks somewhere outside / anywhere else on the page.
Here is my jQuery:
$('input[type=radio]').click(function() {
$('.selected-search-wjs').text($(this).parent().text());
$('.radio-btns-wrapper-wjs').slideUp('fast');
});
Any idea how to do this?
Thanks in advance.
PS. Let me know if you need HTML. I did not indicate this here because I do not think it is necessary, since it is a behavior function, no matter how the HTML is combined. Thank.
source
share