If you wish to change the link from:
    <a id="event_1" href="...">klik here</a>
      to
    <a id="event_1" href="...">changed text</a>

DO:
 $('event_1').innerHTML="changed text";

But this is just JAVASCRIPT, not Ajax. Ajax is when you request a new
page from JavaScript "behind the scenes" (without refreshing the
current page)


On Nov 23, 1:37 pm, Tarscher <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I have <a id="event_1" href="...">klik here</a>
>
> and want to update 'klik here' via ajax.
>
> Many thanks in advance
> Stijn
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Ruby 
on Rails: Spinoffs" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/rubyonrails-spinoffs?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to