ajax - "lang" field disappears in JQuery post -


i had odd bug today, appeared in production version of software working on. i'm still scratching head trying understand happened.

i'm using jquery.post() send form data php script on server. 1 of fields in data called "lang". on development machine went fine, on production version, value in field disappear. debugged far call jquery post. in debugger see lang had value @ point, looking @ network trace shows lang field empty string.

the main difference between development , production version development use local non-minified copy of jquery, in production grab ajax.googleapis.com (currently using jquery 1.11.3).

after pulling out of hair, changed name of field "lng" instead, , started working correctly.

is known problem? post variables 1 needs avoid when using jquery?

partly i'm posting here save other poor souls having same issue.


Comments

Popular posts from this blog

c - Bitwise operation with (signed) enum value -

xslt - Unnest parent nodes by child node -

YouTubePlayerFragment cannot be cast to android.support.v4.app.Fragment -