Javascript variables
Posted
by
Uli
on Stack Overflow
See other posts from Stack Overflow
or by Uli
Published on 2011-06-22T23:50:45Z
Indexed on
2011/06/23
0:22 UTC
Read the original article
Hit count: 158
I'm learning Javascript right now. Can anybody tell me why the second code block traces a empty path for -launch(this)- but using the first code block it gives me the right path?
"<form action='"+launchwebsite+"/subsite/' method='post' target='_blank' onsubmit='launch(this)'>"
and this not:
"<a onclick='launch(this)' title='launch' class='iblack' /></a></div>"
Best Uli
© Stack Overflow or respective owner