Using the following function to post the param value to a certain url (running on another server):
function yourfunction(url, params) {
var form = $('<form action="' + url + '" method="post">' +
'<input type="text" name="api_url" value="' + params + '" />' +
'</form>');
$('body').append(form);
$(form).submit();
}
Using this I am able to get redirected page but how to get params value on the same?