google chrome - jQuery Uncaught RangeError: Maximum call stack size exceeded -


i'm getting "uncaught rangeerror: maximum call stack size exceeded" following code on .ajax call. notice of data commented out except data {} portions of code. if comment data {} portion of code "works". meaning pops 2 alerts, fail , alerts. have tested in both chrome , firefox although firefox doesn't give same error still fails work properly. suggestions?

i know there have been several posts error none of ones i've read seem have particular problem.

$(document).ready(function () {  var submitted = false;  $('.inxaddtocart').on('focusout click', function () {     if (!submitted) {         submitted = true;         event.preventdefault();         event.stoppropagation();         inxverifyorderqty();          $.ajax({             url: 'generatecontent.aspx',             datatype: 'html',             type: 'get',             data: {             //    option: escape('shopping cart'),             //    func: escape('func'),             //    item: escape($('#inxpartnumber').val()),             //    weight: escape($('#inxweight').val()),             //    id: escape($('#inxcatid').val()),             //    qty: escape($('#titem_qty').val()),             }         }).done(function (data) {             alert('done');             inxdebug('done...');         }).fail(function (data) {             alert('fail');             inxdebug('fail...');             inxdebug(data);         }).always(function (data) {             alert('always');             inxdebug('always...')         });     } }); 

i have no real idea but, looks "func: scape(func)" may recursivelly looking himself, isnt it?


Comments

Popular posts from this blog

How to mention the localhost in android -

php - Calling a template part from a post -

c# - String.format() DateTime With Arabic culture -