From: Andrey S. <asu...@oi...> - 2004-09-03 05:35:30
|
Accodring to HTML DOM all attribute names must be lowercase. Try "onsubmit" instead of "onSubmit". This is the name HtmlUnit looks for in HtmlForm.getOnSubmitAttribute method. > I have tried to run htmlunit with javascript but encountered that the > expected javascript method (doSearch() in this case) will not be called. > Perhaps, someone has an idea what went wrong... ... > <form action="javascript:doSearch (document.sform);" method="post" > name="sform" id="sform" onSubmit="return checkTheQuery (this);"> |