# ...this one's random

**URL:** <https://forum.kirupa.com/t/this-ones-random/46583>\
**Category:** web dev\
**Created:** [March 25, 2004, 9:32pm UTC](https://forum.kirupa.com/t/this-ones-random/46583 "2004-03-25T21:32:00Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mucho](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@mucho](https://forum.kirupa.com/u/mucho)\
**Post date:** [March 25, 2004, 9:32pm UTC](https://forum.kirupa.com/t/this-ones-random/46583/1 "2004-03-25T21:32:00Z")

</div>

Hi guys,

an HTML / script question.

how come this doesn’twork:

```auto

  document.write
  ("<a href="javascript:history.go(0)"><img src=" + quot + cliche + quot +">")

the thingy works like this:

  document.write
  ("<img src=" + quot + cliche + quot +">")

```

all I’m trying to do, is set a reload function on a randomly placed picture.

any ideas? appreciated,

m.
