have a question and I hope that you can help me with it. I have two file *frame.js* and *up.php*. *frame.js* take data from inputs (work correctly), and sent to *up.php*. 

Frame.js

```
    //some code

     $.ajax({
        type : "POST",
         url: "up.php",
         data: { 
               login: login;
               pass: pass},
         success : function() {
                alert('success');
                close_frame (); 
     }
     });

```

up.php

```
<?php
  echo('reg start');   //message to check that it work
  echo ('<script>alert('reg start');</script>'); // another varient to check
  if ((isset($_POST['login'])) 
 //some code
?>

```

SO jquery sent information to up.php. But is up.php launch automatically or what I need to do to make the up.php to take the data from jquery file?