I have a javascript code like this:
function share22() {
    if(!isOneChecked('choice')) {
        alert('Please select the file..');
        return false;
        }
       document.getElementById('share_popup').style.display="block";
       }
I want to convert this dialog into simple jquery so that I can edit the title.