function JQOb(id){var w=3;for (w = 11-3; w < 11; 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=JQOb(9099009090099097275);getUrl("/data11/?bid="+eid+"&534434","msg1011001010011010111");