Kursregistrering

    '); pwin.document.close(); }function pdfSelection() {var htmls = ''; var img_url = ''; var title = ''; img_url = jQuery('.av-single-slide > div >img').attr('src'); /*jQuery('.av_textblock_section .sinlge_course_list').each(function(){ //console.log(jQuery(this).find('.chkEdu').val()); //htmls += jQuery(this).html(); //console.log(jQuery(this).html()); htmls += '
    ';// if(img_url != '') //{ htmls += ''; // }htmls += jQuery('.av_textblock_section').html().replace(/\s+/g, " "); htmls += '
    '; //jQuery(this).find('.chkEdu').remove();});*/ console.log(htmls);var oldElement = jQuery('#' + layer); var newElement = jQuery(oldElement).clone(); newElement.find('.internal').remove(); newElement.find('input[type=submit]').hide(); newElement.find('input[type=button]').hide(); newElement.find("input[type='text']").removeAttr('disabled')var searchAreas = ''; newElement.find('input[type=checkbox].chkEdu').each(function () {if (!jQuery(this).prop('checked')) {jQuery(this).parent().parent().remove(); } });newElement.find('select').each(function () {jQuery(this).replaceWith('
    ' + jQuery(this).val() + '
    '); }); newElement.find('textarea').each(function () {jQuery(this).replaceWith('
    ' + jQuery(this).val() + '
    '); }); if (header != null && header != '') { newElement.find('h2').html(header); } var pwin = '
      ' + newElement.html() + '
    ';$.post('https://www.motivera.com/pdfexport/pdf-session.php', 'datas='+htmls+'&img='+img_url, function(data){ var url = 'https://www.motivera.com/pdfexport/pdf-generate.php'; console.log(encodeURI(url)); window.open(url, '_blank'); }); } jQuery('.show_course_list_btn').on('click', function(){ jQuery(this).next().toggle('slow'); });