cancel
Showing results for 
Search instead for 
Did you mean: 

Successful Newsletter Signup POPup not working

Successful Newsletter Signup POPup not working

The popup doesn't show because I assume there is something wrong with the post below.

function ajaxn()
 {
 jQuery.ajax({
 type: "POST",
 url: url1,
 data: dataString,
 success: function(resp) {
 if(resp!='')
 {
 jQuery("#loader_img_div").hide();
 jQuery("#thankPopup").show();
 jQuery(".input-box").hide();
 jQuery(".radioBtn").hide();
 }
  
 }
 });
 }
 return false;

 

ThankPopup is supposed to show a pop up message to confirm successful subscription but it doesn't. I'm a newbie to Magento and web development so would appreciate any help.

Thanks.