» Home » close » Page 1
Handling window.close event using javascript and executing rails action after the close
by J.W. Mosley in Javascript

I have to handle an action (ruby on rails) when i close the window (using X button) .. can i do this through javascript.??


onhover open a popup but it close only when i click on rest of the page or close button
by Igal in Programming Languages

onhover open a popup but it close only when i click on rest of the page or close button


$('#promo').mouseover(function() {
$('#promoarrow').show();
});
$('#closebtn').click(function() {
$('#promoarrow').hide();
});

here is the fiddle :
http://jsfiddle.net/YFY5g/16/


Colorbox doesn't close immediately if calling print() prior to close — why?
by bhupesh in Web Design

I'm using Colorbox in iframe mode, and am seeing an odd issue that I would appreciate some help in figuring out. My iframe contains a form and another iframe (which contains a preview of the content to be printed), and on my submit handler for the form, I want to invoke window.print() on the embedded iframe and then close the colorbox. My code is hooked up like so:


$('#pr

How to close xpages in notes client? I use CSJS window.close but it's not working
by Idontcare in Web Design

I'm doing an xpinc application.


I followed the example in here and modified it. Currently the close button is on my main page.


The customer wanted a close button instead of the normal 'X' to close. But the example suggests that I should create 2 xpages.


On page1 I should create a button with window.open(xpage2.xsp) and only then window.c


Hide frame instead of close when user click on close button of the window
by CodeOfficer in Programming Languages

I have an application which shows a window. Instead of closing window when user presses on "Close" button I want just to hide this window, how can I do this?


Here is my code (it does not work, the app is closed on click):


object UxMonitor {
def main(args: Array[String]) {
val frame = new MainScreen()
frame.peer.setDefaultCloseOperation(Windo

How do I close a window after the user clicks on the close button in file upload?
by BHZ-GTR in Web Design

We have a requirement to close the popup window itself when the user clicks on the cancel button in the file upload.


main.html
popup.html

popup.html contains <input type="file".


Now we have a requirement that when a user clicks on the cancel button in the file upload window popup.html should also be closed.



how can i close the resultSet, prepareStatement, conn in several methods below to avoid rs close and connection pool getting jammed
by nsavop in Programming Languages

the whole data operation is below. i want to close close each and every resource without interfering with the next connection. should i change the constructor to a connection() mthod then have a disconnect() mthod, but after doing so where should i


public class DataBean{
private Connection conn = null;
private ResultSet res = null;
private InitialConte

close the popup only click on the close & mask area using jquery
by DefDC in Programming Languages

Please see this link


I want to close the popup only click on the "close" button and the "mask" area...


But my script close the popup where ever click on the popup.


I am searched this error on google but i can't to find.


Product details should be inside <div class="mask". eg site link


Any one please help me.



How to close an oracle db connection from php on an apache server? I mean close instantly
by Justin Bowers in PHP

Usually closing a connection is simply done by oci_close($connection); or in a worse case when the php script ends the connection pass away.


In my case however, I face a different behavior.


If I access my application which uses PHP 5.2.8, Apache 2.2.11 and oci8 1.2.5, the connection is kept during several minutes.


Actually it seems to: if I lau


How to open, close and close the dialogs of another application using cocoa or applescript?
by br4dz in Development Tools & Services

I want to open another separate application, open the projects/documents of that application in a iterative way and then close the application. I also want to close all the modal and non modals dialogs which popped up during the opening of the document. I want to close all the dialogs including the crash dialog in case the application fails/ crashes.


What will be the best way using


Next
Privacy Policy - Copyrights Notice - Feedback - Report Violation - RSS 2014 © bighow.org All Rights Reserved .