http://www.pdapi.com/cs/JSI/v1/prime/?pub=3&email=[email]&ExitURL=http://www.favecrafts.com/index.php/hct/Latest-Free-eBooks&ca=1'; ebook_obj.user_feedback = false; ebook_obj.ebID = '93'; $(document).ready( function() { //alert('ebookPopup_getJavascript ready'); $("#ebookPopupDiv table").animate( { left:'0px' }, 3000 ); $('#ebookSignUpForm').ajaxForm( { beforeSubmit: ajaxFormPreSubmit_ebookSignUpForm, dataType: 'json', timeout: 20000, error: function(XMLHttpRequest, textStatus, errorThrown){ //alert(errorThrown); }, complete: function(){ $('#ebookSignUpForm').fadeTo("slow", 1.0); $('#ebookPopupDiv .loader').hide(); $('#ebookPopupDiv .privacyText').hide(); $('#ebookPopupDiv .userFeedback').html(ebook_obj.user_feedback).show(); }, success: function(json) { var isNewSignup = 0; if (json.is_new_signup == true) { isNewSignup = 1; } var response_code = json.response_code; var alert_str = 'ebookPopup_getJavascript success' + "\n"; alert_str += 'json.result: ' + json.result + "\n"; alert_str += 'json.fname: ' + json.fname + "\n"; alert_str += 'json.lname: ' + json.lname + "\n"; alert_str += 'json.phone: ' + json.phone + "\n"; alert_str += 'json.email: ' + json.email + "\n"; alert_str += 'json.is_new_signup: ' + json.is_new_signup + "\n"; alert_str += 'isNewSignup: ' + isNewSignup + "\n"; alert_str += 'json.response_code: ' + json.response_code + "\n"; alert_str += 'response_code: ' + response_code + "\n"; //alert(alert_str); ebook_obj.logEbookSubmit(isNewSignup,response_code); //return; if (json.result > 0) { // show some feedback ebook_obj.user_feedback = 'Thanks for signing up! If the page does not reload, click here to get your book.'; // create a cookie to track the ebook signup createCookie('ebksignup', 1, 1); //console.log('ebksignup made'); // create a cookie to track the nlsignup createCookie('nlsignup', 1825, 1825); //console.log('nlsignup made'); // delay the redirect for a little bit to allow the call to logEbookSubmit to be made and return setTimeout('window.location = ebook_obj.landing_page;', 2500); //console.log('redirect stopped ' + ebook_obj.landing_page); } else { var alert_str = 'We could not sign you up.' + "\n"; alert_str += 'Please review the information you entered and make sure your email address is correct.' + "\n"; //alert(alert_str); ebook_obj.user_feedback = alert_str; } } } ); } // end main func ); // end ready; ebook_obj.logEbookSubmit = function(isNewSignup_param,response_code_param){ //alert('isNewSignup_param: ' + isNewSignup_param + '\n\n' + 'ebook_obj.ebID: ' + ebook_obj.ebID); if(ebook_obj.ebID > 0){ //console.log('logEbookSubmit ebook_obj.ebID: ' + ebook_obj.ebID); $.ajax({ url: "/ajax_process.php", type: 'GET', cache: false, dataType: "json", timeout: 2000, // we do not need / expect data returned data:{ task: 'log_ebook_submit', ebID: ebook_obj.ebID, isNewSignup: isNewSignup_param, response_code: response_code_param }, complete: function(){ }, success: function(json){ } }); } } function ajaxFormPreSubmit_ebookSignUpForm() { var alert_str = 'ajaxFormPreSubmit_ebookSignUpForm' + "\n"; //alert(alert_str); var result = true; if ($('#ebookSignUpForm input[name=email]').val() == '') { result = false; alert('You must enter a valid email address.'); } if (result == true) { $('#ebookSignUpForm').fadeTo("slow", .3); $('#ebookPopupDiv .privacyText').hide(); $('#ebookPopupDiv .userFeedback').hide(); $('#ebookPopupDiv .loader').show(); } return result; }

The Originators of Quick & Easy Cooking!

mrfood.com
Free Offer
World's Best Chili Recipes: 21 Easy Chili Recipes Everyone Will Love

Whether you're trying to warm up on a cold day or just love the taste of homestyle cooking, you're sure to love our collection of the best.

Bonus: Get our newsletter & special offers for free. We will not share or sell your email address. View our Privacy Policy

Kitchen Basics

(1 Votes)

From the proper way to set a table to banishing freezer burn, Mr. Food provides helpful tips to answer your basic kitchen questions.

What You'll Need:

YOUR RECENTLY VIEWED RECIPES

Ratings & Comments (0)

All fields required.

Rate & Comment

I have not made this yet so I cannot rate it.

My Rating:

Cancel Reply to Comment

Mr. Food E-Newsletter

  • Tasty Quick & Easy Recipes
  • Helpful Cooking Tips & Hints
  • Themed eCookbooks
  • Special Partner Offers
  • ...and so much more

Enter Your Email:

Please Wait

Thanks for signing up

Sorry, we could not sign you up.

LATEST TV RECIPE & VIDEO

Cheesy Burger Fries

This hearty version of Cheesy Burger Fries offers all the tempting tastes of a juicy cheeseburger and fries combo, but you'll need a fork to enjoy them! It's perfect for a party or just for a fun and novel weeknight meal!

1

About Mr. Food Advertise on MrFood.com Contact Us FAQ Press Room Privacy Policy Terms of Service Keyword Index Special Thanks Today's Recipe Find Us on TV Subscribe Unsubscribe Site Map RSS Bookmark