How to make link using image with ajax

Hi,

      I have an image. I want to make it as a link using ajax.
      Please anybody, tell me the way how to do it?

First, you want the rails mailing list:
http://lists.rubyonrails.org/mailman/listinfo/rails

Second, try

link_to_remote image_tag('some_image'), :url=>{some_url_parameters}

--max

···

On 3/24/07, Saravanankumar Saravanan <gohannimbus@yahoo.co.in> wrote:

                 with regards,
                   saravanan.

--
Posted via http://www.ruby-forum.com/.

Hi Muermann,
   Thanks for you hint. Its working.

Max Muermann wrote:

···

On 3/24/07, Saravanankumar Saravanan <gohannimbus@yahoo.co.in> wrote:

Hi,

      I have an image. I want to make it as a link using ajax.
      Please anybody, tell me the way how to do it?

First, you want the rails mailing list:
http://lists.rubyonrails.org/mailman/listinfo/rails

Second, try

link_to_remote image_tag('some_image'), :url=>{some_url_parameters}

--max

--
Posted via http://www.ruby-forum.com/.