b3ta.com board
You are not logged in. Login or Signup
Home » Messageboard » XXX » Message 5446350 (Thread)

# it should work
try using <a href='#' onClick='body.bgColor='#FF0000'; return true;'>make it red</a>
(, Fri 16 Dec 2005, 15:57, archived)
# return false
return true sends the clicker to the top of the document, and that is nothing you want. The example above could also be backed up with a server side thingy for the non-javascript peeps.

Or you can add a cookie function to store the choice = sexy (or not).
(, Fri 16 Dec 2005, 16:02, archived)
# yeah do it server side
one thing I`ve learned is never to trust browser capabilities
(, Fri 16 Dec 2005, 16:09, archived)
# Thank you sir
(, Fri 16 Dec 2005, 16:03, archived)