Hello everybody!
I have a problem with the following function:
function test()
{
document.all.example_1.innerHTML = "<p onClick="test2()">It's just a test</p>"
}
the second function test2() works fine on it's own, but if I try to integrate test2() in test() on the written way, I get an error. I think that is because of the " I need for test2(). But I don't know how to circumvent this.
Thanks in adavance for any kind of help.
askey
PS: I'm sorry for my bad english, but I'm german.
I have a problem with the following function:
function test()
{
document.all.example_1.innerHTML = "<p onClick="test2()">It's just a test</p>"
}
the second function test2() works fine on it's own, but if I try to integrate test2() in test() on the written way, I get an error. I think that is because of the " I need for test2(). But I don't know how to circumvent this.
Thanks in adavance for any kind of help.
askey
PS: I'm sorry for my bad english, but I'm german.