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>
But it doesn't work
Any ideas?
N
On Dec 20, 5:32 pm, dashifen <[EMAIL PROTECTED]> wrote:
> You could wrap the image in another element (perhaps a span) and then
> update that element with a new image as necessary.
>
> - Dash -
>
> On Dec 20, 11:18 am, Nuno <[EMAIL PROTECTED]> wrote:
>
> > Hi,
>
> > I'm trying to refresh an img tag that as a captcha image.
>
> > <img src="captcha.php" align="absmiddle" />
>
> > How am I able to do this with prototype?
>
> > Thanks
>
> > N
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---