Hi,
I want to make use of the API of oneall.com (http://docs.oneall.com/api/), with a social media plugin. After the login i want to route the user to the next page, and normally you should verify that with the connection_token (catched from the first page with the social login). On http://docs.oneall.com/services/impl.../social-login/ there is an example how to handle this with PHP.

PHP Code:
<?php
 
//Check if we have received a connection_token
[B]if ( ! empty ($_POST['connection_token']))[/B]
{
  
//Get connection_token
  
$token $_POST['connection_token'];
How can we do "if ( ! empty ($_POST['connection_token']))" in javascript/Jquery? Is that technically possible? I dont make use of PHP, thats the reason..

Thanks a lot in advance.