I have problem to get jsonp from my server by id.
I am sure that my php is good, but i don't know how to parse id from php server to htlm-jquery.

**My php page is:**

```
<?php

header('Content-type: application/json');

include 'config.php';

$con = mysql_connect($dbhost, $dbuser, $dbpass) or die ("Could not connect: " . mysql_error());
mysql_select_db($dbname, $con);

$id=$_GET['id'];

$sql = "select * from ios where id=$id";
$result = mysql_query($sql) or die ("Query error: " . mysql_error());

$records = array();

while($row = mysql_fetch_assoc($result)) {
$records[] = $row;

}

echo $_GET['jsoncallback'] . '(' . json_encode($records) . ');';

////////////////////
?>

```

And this works great, i got json object by id in php. 
You can check for example <http://www.dr-trkuljic.com/tekst.php?id=1> (you can try with id 2, 3, and 4) you will get result.

But i don't know how to parse that in jquery in my html page

**I am using this in my html page:**

```
 $(document).ready(function(){
    var output = $('.nesa');
    $.ajax({
        url: 'http://www.dr-trkuljic.com/tekst.php',
        dataType: 'jsonp',
        data: 'id',
        jsonp: 'jsoncallback',
        timeout: 5000,
        success: function(data, status){
            $.each(data, function(i,item){ 

                //var ispisi = '<li>' + item.naziv + '</li>' ;

                var ispisi = item.naziv + item.tekst;

                output.append(ispisi);
            });
        },
        error: function(){
            output.text('There was an error loading the data.');
        }
    });
});

```

So, my question is how to parse (show) by id in my html page?
**To be precise how that result from my server <http://www.dr-trkuljic.com/tekst.php?id=1> get in my html page?**

Thank you.