Answer by Nasser Torabzade for Javascript: Display the result in a pop up message/message box

one approach is to have contents that you want to be popped up, in a div with display:node, then when the radio button is clicked, popup that dialog using a jQuery plugin like fancybox:

<div id="popup" style="display:none;">PLAYLIST</div>

$(document).ready(function(){
    $(RADIO_BUTTON_ELEMENT).click(function(){
        $("#popup").fancybox();
    }
});

Leave a Reply

Your email address will not be published. Required fields are marked *