On Oct 25, 2012, at 4:32 PM, Jason Walsh wrote:
> webber han wrote in post #1081214:
>> Jason Walsh wrote in post #1080993:
>>> Am having real probs trying to use Ajax with my Rails app. I have set up
>>> a test as
>>>
>>> follows:
>>>
>>> in javascript file:
>>>
>>> window.onload = function()
Am having real probs trying to use Ajax with my Rails app. I have set up
a test as
follows:
in javascript file:
window.onload = function() {
$('#test').bind('ajax:success', function() {
alert("success");
};
}
in view:
<%= link_to "test", { :action => :getDiagram }, :remote => tr
2 matches
Mail list logo