wood burning stoves 2.0*
The moose likes HTML, CSS and JavaScript and the fly likes How to close the modal dialog window by dblclick on the text? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Engineering » HTML, CSS and JavaScript
Bookmark "How to close the modal dialog window by dblclick on the text?" Watch "How to close the modal dialog window by dblclick on the text?" New topic
Author

How to close the modal dialog window by dblclick on the text?

Digvijay Singhania
Greenhorn

Joined: Sep 22, 2012
Posts: 9
hii,
In QBE search how should i close the modal dialog window by dblclicking on the text that is diaplayed.
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
If it is a jQuery UI modal, that is not how you call close

Digvijay Singhania
Greenhorn

Joined: Sep 22, 2012
Posts: 9
it is throwing error as Message : Object doesn't support this property or method
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Eric gave you the wrong method name. You should be able to look up the correct name yourself.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Eric Pascarello
author
Rancher

Joined: Nov 08, 2001
Posts: 15376
    
    6
whoops, mixed my custom library with jQuery UI. Hopefully you figured out by now it should have been dialog.
Digvijay Singhania
Greenhorn

Joined: Sep 22, 2012
Posts: 9
yes, i got the answer it should be :
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 60765
    
  65

Nope. Try again.

That will remove the dialog functionality completely, and you will never be able to open it again (unless you completely re-initialize).

Look at the documentation for the dialog widget. Right now. Do it. Now.
 
Don't get me started about those stupid light bulbs.
 
subject: How to close the modal dialog window by dblclick on the text?
 
Similar Threads
jQuery click function and ajaxcomplete not working.
calling the struts action on jquery button click
Ajax servlet form validation problem
jquery accordion is causing jquery treeview picker to breakup
DIV Tag Loading Behavior is Erratic