|
Write a comment |
Articles |
DHTML Gallery |
.NET |
MyBlog |
About Me |
FAQ
|
|
|
Doing AJAX with popular javascript libraries
| Basic | Prototype.js | Dojo Toolkit | Yahoo UI Library | ASP.NET | Rails |
Ruby on Rails
<div id="hello_div">
<%= link_to_remote( "Click here",
:update => "hello_div",
:url =>{ :action => :say_hello }) %>
for welcome message.
</div>
The above code does the following for you:
class TestController< ApplicationController
scaffold :test
def index
end
def say_hello
render_text "<p>Hello Geek !</p>"
end
end
| Basic | Prototype.js | Dojo Toolkit | Yahoo UI Library | ASP.NET | Rails | |
| Copyright (c) 2007-2008 Ashish Patil . Please read FAQ for more details. |