I's an embarrasing js question, been on and off on js, pretty rusty with it...
I have an iframe for text data input, in the meantime, I have a button (id=d2) that has an event trigger to open up another window to do something else, once it is done for the pop-up window, when a user goes back to the iframe for more typing/data input, there's a problem, if he/she hits the space bar, it triggers the id of d2 again, pop up a window again. Browser = IE7. I didn't notice this odd behavior in the past, is it because the computer has been hacked hence the keyboard is not functioning nomally but I've just tried two computers with the same odd behavior. Someone at the js NG suggested adding the this.blur() event after it, it worked for button1 but not button2, button3 etc. <iframe ...</iframe> <button id="bn1"... evenTrigger1();this.blur(); /> -- this one works <button id="bn2"... evenTrigger2();this.blur(); /> -- not this one <button id="bn3"... evenTrigger3();this.blur(); /> -- nor this one Any idea? Thanks. Don Chunshen Li ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;207172674;29440083;f Archive: http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:322139 Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4