Nuno 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
>   
One way would be to change the source by adding a unique parameter that 
captcha.php doesn't look at:

$(myImgId).src = 'captcha.php?time=' + new Date().getTime();

- Ken Snyder

--~--~---------~--~----~------------~-------~--~----~
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