Hi,
Can someone tell me why the following dosen't work...
shouldn't 'this' pass in the form object?
it works fine if I do it like this...
cheers,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts
Can someone tell me why the following dosen't work...
Code:
<form action="javascript:check_form(this);" id="penform">
shouldn't 'this' pass in the form object?
it works fine if I do it like this...
Code:
<form action="javascript:check_form(document.getElementById('penform'));" id="penform">
cheers,
1DMF
"In complete darkness we are all the same, only our knowledge and wisdom separates us, don't let your eyes deceive you."
"If a shortcut was meant to be easy, it wouldn't be a shortcut, it would be the way!"
Google Rank Extractor -> Perl beta with FusionCharts