title: why wordpress website show bad request of jquery?
body: <p>I put the following jquery codes on page footer.php in theme folder :</p>
  
  <pre><code>jQuery( document ).ready(function() {
   jQuery('body').on('click', 'a.closebtn', function(e) {
         jQuery(document.body).removeClass('commentpopupdata');
          return false;
  
      });
     jQuery( ".commentCountDiv" ).click(function() {
      var product_id = jQuery(this).attr("com_productid");
      jQuery(document.body).addClass('commentpopupdata');
      jQuery.ajax({
                      url:"&lt;?php echo admin_url( 'admin-ajax.php' ); ?&gt;",
                              type:'POST',
                              data:'action=productscomments&amp;product_id='+product_id,
                               success:function(results)
                                  {
                                       jQuery(".upcomproduct").html(results);
                                   }
                           });
                   return false;
  });
  });
  </code></pre>
  
  <p>error message : POST <a href="http://rentsss.com/wp-admin/admin-ajax.php" rel="nofollow noreferrer">http://rentsss.com/wp-admin/admin-ajax.php</a> 400 (Bad Request)</p>
  
  <p>how to fix the error?</p>