you can, replace your querystring...
$("#captcha").attr("src").replaceWith("inc/captcha/captcha.php?test=123");
in the next reload
$("#captcha").attr("src").replaceWith("inc/captcha/captcha.php?test=231");
it isn't the best practice...
2009/5/6 Eric Garside
>
> For reference, this php should
For reference, this php should properly force no-cache:
Just be sure to replace $mime with the correct type for the image
(jpg, gif, whatever you're sending)
header('Content-Type: ' . $mime);
header('Cache-Control: no-cache');
header('Pragma: no-cache');
On May 6, 2:30 pm, Ricardo wrote:
> On
On May 6, 6:46 am, heohni
wrote:
> Hi, after sending a form, I would like to reload the form in order to
> send a new message.
> Therefore I was resetting the old form, but I need to call a new
> captch image.
> It's currently like this:
>
> style="float:left;" />
>
> I thought I coud re-load it
depending whether it tries to pull the existing image from the user's
temp.internet files or not, you may also want to add a random number
onto the request to prevent IE from caching the previous request.
On May 6, 12:03 pm, "ryan.j" wrote:
> could you .load() the image into a container?
>
> On
could you .load() the image into a container?
On May 6, 10:46 am, heohni
wrote:
> Hi, after sending a form, I would like to reload the form in order to
> send a new message.
> Therefore I was resetting the old form, but I need to call a new
> captch image.
> It's currently like this:
>
> style=
5 matches
Mail list logo