# ...this one's random

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

<div class="post-metadata">

**Author:** ![imported\_mucho](https://avatars.discourse-cdn.com/v4/letter/i/3da27b/32.png) [@imported\_mucho](https://forum.kirupa.com/u/imported_mucho)\
**Post date:** [March 25, 2004, 9:32pm UTC](https://forum.kirupa.com/t/this-ones-random/105412/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.
