That should work cross-browser, no? it's pretty standard JS syntax. onfocus="statement1; statement2; statement3..."
as long as each is separated by a semi-colon it should be ok? On 12/21/06, loathe <[EMAIL PROTECTED]> wrote: > No it won't. > > For that you'll need a function and you'll need to write a javascript > browser diction script and have separate clauses in the function for each > browser. > > Mainly you'll use document.all and document.getElementById() > > > -----Original Message----- > > From: Doug Brown [mailto:[EMAIL PROTECTED] > > Sent: Thursday, December 21, 2006 3:51 PM > > To: CF-Talk > > Subject: Re: Javascript help > > > > This seems to work, but will it work in all browser? > > > > onFocus="document.updClassified.asking1.value = > > '',document.updClassified.asking2.value = ''" > > > > Doug B. > > > > > > > > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Create robust enterprise, web RIAs. Upgrade & integrate Adobe Coldfusion MX7 with Flex 2 http://ad.doubleclick.net/clk;56760587;14748456;a?http://www.adobe.com/products/coldfusion/flex2/?sdid=LVNU Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:264818 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

