$( document ).ready(function() {
$("#btnsearch").click(function(e) {
e.preventDefault();
$.ajax({
type: "POST",
url: "/",
data: $("form").serialize(),
success: function(response)
{
if (response.s == "ok") {
// console.log(response.r);
var tbl_head = "";
var tbl_body = "";
if (response.r.length) {
tbl_head = "# Code Category Name Price ";
tbl_body += "