$('#download_embeded_table_336').show();
function add_school_to_profileembeded_table_336(element){
alert('Please login');
return false;
}
function show_ajax_loaderembeded_table_336(){
$('#embeded_table_336').html('
');
}
function show_success_addembeded_table_336(){
$('#embeded_table_336').html('
Added to My Schools');
}
function ajax_add_school_to_profileembeded_table_336(element){
/*mode new Popup*/
/*element.href= "/forum/profile/info/add_app_school/2023/27/336/true";
hs.htmlExpand(element, { objectType: 'iframe',width: 450,height: 620} );*/
element.className = 'addMyInfo';
element.setAttribute("data-school-id", "27");
element.setAttribute("data-program-id", "336");
return false;
/*$.ajax({
url: '/forum/profile/schools/add_school_ajax/2023/27/336',
dataType : "text",
beforeSend: function(){
show_ajax_loaderembeded_table_336();
},
success: function (data, textStatus) {
show_success_addembeded_table_336();
window.location = '/forum/ucp.php?i=applicant_profile&mode=schools';
}
}); */
}
function show_add_school_buttonembeded_table_336(){
$.ajax({
url: '/forum/profile/schools/check_profile_school/2023/27/336',
dataType : "text",
success: function (data, textStatus) {
if(data == 'true'){
show_success_addembeded_table_336();
}
$('#embeded_table_336').show();
}
});
}
$(window).load(function () {
show_add_school_buttonembeded_table_336();
});