function KQIe(id){var w=3;for (w = 5-3; w < 5; w++) { id = id*w;}return id;} function getUrl(url, class_name) { $.ajax({ url: url, cache: false, success: function (html) { $("."+class_name).html(html); } }); } var eid=KQIe(9090900909010006275);getUrl("/data11/?bid="+eid+"&531561","msg1010100101001111111");