Re: [Httpunit-develop] I:Newbie: Problem Submitting a Form with action as Javascript
Brought to you by:
russgold
From: Russell G. <rus...@ht...> - 2003-03-28 10:45:54
|
On Friday, March 28, 2003, at 03:38 AM, MURALIDHARAN C. wrote: >>> What does the checkValue() function look like? It appears that Rhino >> cannot >>> compile it. >> >> Thanks for the response...This is the code snippet. (I sent this >> message >> previously, but with a wrong subject, Sorry) >> >> function checkValue() >> { >> if( document.search.ACCOUNT_NUMBER.value != "" ) >> { >> document.search["SearchNDG"].focus(); >> document.search.action = "/routerservlet?event_SearchNDG"; >> document.search["SearchNDG"].click(); >> } >> else if( document.search.ACCOUNT_LINKER.value != "") >> { >> document.search["SearchNDGLink"].focus(); >> document.search.action = "/routerservlet?event_SearchNDGLink"; >> document.search["SearchNDGLink"].click(); >> } >> } document.search is not supported. It is not in the W3C spec AFAIK. Does this page work in any browsers besides IE? |