JSON POST failed to get the response data
<p>I had development one simple web page using html and jquery code that will pass data to my gateway using http post. The response of from server was json object, {"remarks":"SUCCEED"}. However, my web page always failed to get the related response</p>

<p>Below is my web page code</p>

<pre><code>  &lt;!DOCTYPE html&gt;
&lt;html lang="en"&gt;
&lt;head&gt;
    &lt;meta charset="UTF-8"&gt;
    &lt;title&gt;Loading data into a PhoneGap ap2p&lt;/title&gt;    
    &lt;script src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"&gt;&lt;/script&gt;
    &lt;script src="jquery.jsonp.js"&gt;&lt;/script&gt;
&lt;/head&gt;
&lt;body&gt;
    &lt;ul id="your-tweets"&gt;&lt;/ul&gt;
&lt;/body&gt;
&lt;script&gt;
$(document).ready(function(){

$.ajax({
    type: 'POST',
    url: 'http://localhost:8091/gateway/jjh/v1.0/login?userid=ccc&amp;password=pwd',
    crossDomain: true,
    data: 'userid=wcc',
    dataType: 'json',
    success: function(responseData, textStatus, jqXHR) {
    alert("Success&gt;&gt;");

    var obj = responseData;
    alert(obj.remarks);

    },
    error: function (responseData, textStatus, errorThrown) {
        alert('POST failed.');
    }
}); 
});
&lt;/script&gt;
&lt;/html&gt;
</code></pre>

<p>Can anyone help/advice me on this?</p>
