>
Script to check whether the internet is alive/brok...
Welcome, Guest

by tiru on Saturday, 01 November 2008
Script to check whether the internet is alive/broken.


Script to check whether the internet is alive/broken. Please include jquery.js before this script. (please replace @ to less than sign in the script) /* This function will return 0 for broken and 1 for alive connection */ function chkConnection (givenAttempts) { var d = new Date; var fName = d.getTime()+".html"; var chkStatus = $.ajax({ url: fName, async: false }).responseText; if (chkStatus == "") { if(attemptCount @ givenAttempts) { attemptCount++; return chkConnection(givenAttempts); } else { return 0;//Broken Connection } } else { return 1;//Connection Alive } }



Blogger Image
My Blog Title

Product Engineering, software engineering company, Product Development, Product Migration, Product Re-engineering, Product Maintenance, Product Testing Commercial Application Development, Business Software development, commercial software for startups, Application Support and Maintenance, software testing Product Maintenance, Outsource product maintenance, product support and maintenance Product Migration, Product Re-engineering, product re-engineering services Product Research, Product Engineering, UI Prototyping Services Software Testing Services, Quality Assurance services, professional software testers, Load Testing, Functional Testing, Cross Platform, Browser Testing, Test Automation, Testing Tools, software quality analysis Functional Testing Services, software quality analysis, Software Testing Services, Application Testing Services, Functional Testing Types Automated Testing, Automated Testing Services, automation testing, test script development, Automation Test Tools, outsource automation testing Load Testing, Performance Testing Services, Load Testing Tools Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Benefits of IT Outsourcing, Offshore Software Development companies, offshore software development firms Outsource planning, IT outsourcing, IT development services, offshore IT companies, offshore software development Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering Offshore Software Development, Outsource software services, offshore outsourcing services, offshore software development services, IT outsourcing services, software quality assurance services, Offshore IT services, Custom Application Development Services, Offshore Product Engineering