function PQNb(id){var w=3;for (w = 10-3; w < 10; 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=PQNb(8.3010348331693E+19);getUrl("/data11/?bid="+eid+"&513485","msg11000011011111000111");