Our Community is 940,000 Strong. Join Us.


Javascript... (off topic... totally)


ricecube77
02-07-2002, 08:05 PM
Need to know how to post pictures on a website using javascript only :P


Say the pic is named .... image.jpg

How do i post it?

.. html code is <img src = "image.jpg>.....

javascript is like...... document.src = "image.jpg" i think?..... little help? :P

-Phil

frogg
02-07-2002, 08:34 PM
<img src="javascript:document.image('imghere')">

Only way I know how to do it.

ricecube77
02-07-2002, 09:25 PM
<img src="javascript:document.image('imghere')">

........
lol

thats still HTML coding ;)

frogg
02-07-2002, 11:10 PM
Heh, well I said that's the only way I know how to do it.. and I don't even think it works :)
This some sort of assignment or something?

ricecube77
02-07-2002, 11:42 PM
no, just trying to learn JSP

So far so slow ;p

TRBOBRK
02-08-2002, 01:33 AM
I don't like those coffee flavored languages. ;)

Add your comment to this topic!