Jump to content

Ping with javascript


albertovesx

Recommended Posts

Can someone expert help us to integrate this in UniGUI?

 

<!DOCTYPE html>

<html lang="en">

  <head>

   <meta charset="utf-8">

  <title></title>

  

  <script src="//code.jquery.com/jquery-1.10.2.js"></script>


  <script>

  $(function() {


alert('Ping time was ' + String(delta) + ' ms');

}).catch(function(err) {

alert('Could not ping remote URL', err);

});

  });

  </script>

 

  </head>

  <body>

      

   

  </body>

</html>

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...