jquery - How to pass parameters in $ajax POST? - Stack Overflow The Jquery ajax documentation says that there is a flag called processData that controls whether this encoding is done automatically or not The documentation says that it defaults to true, but that is not the behavior I observe when POST is used
jquery - How to set data attributes in HTML elements - Stack Overflow jQuery itself uses the data() method to save information under the names 'events' and 'handle', and also reserves any data name starting with an underscore ('_') for internal use It should be noted that jQuery's data() doesn't change the data attribute in HTML So, if you need to change the data attribute in HTML, you should use attr() instead