Vicent.Z
(Vicent.Z)
1
hi,all
i dont know why it does not work as my expection.
it always render the 127.0.0.1:3000 (my ror server) ,not the 8080
port.
<%= link_to_remote 'query now!',
{:host=>"127.0.0.1:8080",:controller=>"webgui",:action
=>"do_query",:only_path=>"false"},:update=>"result",:complete=>"$
('queryed')=1"%>
thanks!
Vicent.Z
(Vicent.Z)
2
why this does not work also??!!
<a complete="$('queryed')=1" href="#" onclick="new
Ajax.Request('http://127.0.0.1:3001/webgui/do_query’,
{asynchronous:true, evalScripts:true}); return false;"
update="result">query now!</a>
Vicent.Z
(Vicent.Z)
3
FIXed after check rails' sources. thanks!