On Dec 20, 2007 6:38 PM, Nuno <[EMAIL PROTECTED]> wrote:
>
> Hi,
>
> Here is the code:
>
> <span id="cap"><img src="visual-captcha.php" width="120" height="40"
> alt="Captcha" /></span>
> <a href="#" onClick="javascript: new Ajax.Updater('cap', 'visual-
> captcha.php', { method: 'get' });">Change Image</a>
>
>
I think you need to change the source of the image. something like:
$('my_image').src = 'url_to_image';
Maybe is better to create an Image object and set the source when the image
is loaded.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---