[Javascript] Getting their values

Iztok Polanic iztokp at amis.net
Mon Nov 5 12:27:20 CST 2001


Hi!

I've looked thru some books but I can't find this so please help me.

1. How to know which element called the function (without arguments in a
function e.g. do_it(test))?
2. I've saved an objects name into another variable (var something =
Practice; I have a <div> element with an id called Practice). But how can I
now reference to this object  thru variable called something?

document.all.something.innerHTML = ????


Bye,

Iztok




More information about the Javascript mailing list