no, actually I meant that instead of selecting files, the user could select folders. I don't want to upload them, I just need the filename. on another forum they told me it couldn't be done, so if no one answers, I'll assume it can't be done.LG
thanks, but that only does one, Right?I need all of the TDs to be set to that.do I need to use a while loop?LGEidt:this still doesn't work. I tried just as you said, and this:
document.getElementsByTagName('td')[0].onclick = lol();function lol(){this.innerHTML = prompt('please enter a value')}
yea that is what I thought, but my main problem is setting the onmousedown or onclick of all the <td> tags.ok, so say I had this:
function changeval(obj){obj.innerHTML = prompt('please enter a number');}
then all I need is to set all <td> tags' onmousedown to changeval(this)can anyone help plez?thnx, LG
hi,I have a problem with this code:
<script type="text/javascript">document.getElementByTagName('td').onclick = new Function("this.innerHTML = prompt('please enter a value')");</script>
I have no Idea how to use the "new Function()" thing, so I could be completely wrong.can anyone tell me what the problem is?thnx, LG(so much for mastering javascript. (see sig))
2) wrap your images in a div tag and then the css for the div would be:
white-space:nowrap;
everything inside that will not go onto another line unless you put a <br /> tag in.LG