Prev: FAQ Topic - How do I access a frame's content? (2010-06-18)
Next: How Internet Explorer 8 document mode affects JavaScript - NicholasZakas
From: venu madhav on 18 Jun 2010 06:07 Hi All, I've a Web application where I display details in a table. This table has a double click option which when clicked displays a popup containing some more details of that particular row. Now I want to disable double click option on the table until the popup is closed. Is there any way to do this? I am using CGI for backend processing and HTML and Javascript for client side. Please let me know if u need any further information. Thank you, Venu.
From: Joe Nine on 18 Jun 2010 07:05 venu madhav wrote: > Hi All, > I've a Web application where I display details in a table. This > table has a double click option which when clicked displays a popup > containing some more details of that particular row. Now I want to > disable double click option on the table until the popup is closed. Is > there any way to do this? > I am using CGI for backend processing and HTML and Javascript > for client side. > > Please let me know if u need any further information. > > Thank you, > Venu. In your double-click handler just check to see if the popup is currently open/visible. If it is, just return without doing anything.
From: SAM on 18 Jun 2010 10:58
Le 6/18/10 1:05 PM, Joe Nine a �crit : > venu madhav wrote: >> Hi All, >> I've a Web application where I display details in a table. This >> table has a double click option which when clicked displays a popup >> containing some more details of that particular row. Now I want to >> disable double click option on the table until the popup is closed. Is >> there any way to do this? >> I am using CGI for backend processing and HTML and Javascript >> for client side. >> >> Please let me know if u need any further information. >> >> Thank you, >> Venu. > > In your double-click handler just check to see if the popup is currently > open/visible. If it is, just return without doing anything. after having focused back the popup or, at least, indicated why that doesn't more work |