Javascript variables
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
Javascript variables
===

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