1 line of JavaScript code
$.post('/blah', { comment_id: 1, description: ... });
For some reason, the call is not made as a JS call and per documentation, the post method allows for 2 more optional params, success and dataType. I would like to skip success and set dataType to script. I tried this and it gave me an error
$.post('/blah', { comment_id: 1, description: ... }, ,"script");
Pass
nullorundefined: