Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function onpageLoad()
- {
- getdepartflights(1,2);
- getreturnflights(1,2);
- }
- function getdepartflights(flightID, flightType) {
- PageMethods.getFlights1(flightID, flightType, OnGetMessageSuccessdepart);
- }
- function getreturnflights(flightID, flightType) {
- PageMethods.getFlights2(flightID, flightType, OnGetMessageSuccessreturn);
- }
- var processor = setInterval(function () {
- alert("inside");
- searhflightsdepart(i);
- clearInterval(processor);
- }, 100);
- var processor2 = setInterval(function () {
- alert("insidereturn");
- searhflightsreturn(i);
- clearInterval(processor2);
- }, 100);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement