Send ajax request from jquery.

It is better to send Ajax requests directly from java script or jquery instead clicking on button from Java Script to send Ajax request.

insecure https protocol IE shows some error if you send clicking on button from java script to send Ajax request

Sample code:-

$j.ajax({
 type: "POST",
  url: "https://myurl.com/recent"
 data: "requstids="+response.request_ids
  })

Comments

Popular posts from this blog

Rails Memcache issues

scp command usage guide

ROR HEROKU Working with file storage like paperclip in heroku for free of cost ( paperclip and dropbox) paperclip-dropbox config | ROR, HEROKU, file storage, paperclip, in heroku, free of cost, paperclip, dropbox, paperclip-dropbox config