/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
Jquery: var json_obj = { "variable":anystring } $.ajax({ type: "GET", url: 'ajax/action', data: json_obj, success: function(msg){ alert(msg) } }) result = params[:variable]
URL: http://almazom.livejournal.com/