answersLogoWhite

0


Best Answer

It is not a PHP code but a Javascript code. w3schools.com has all the answers you need about Javascript. It will teach you how to use the code and implement it into your website. If you're creating your own websites I suggest you actually learn the code. It will come in handy later on.

User Avatar

Wiki User

14y ago
This answer is:
User Avatar

Add your answer:

Earn +20 pts
Q: What is the php code to close the existing window using button?
Write your answer...
Submit
Still have questions?
magnify glass
imp
Continue Learning about Engineering

How do you close a browser window with HTML code?

You can't do it with HTML code.You can use the Javascript method window.close() but for security reasons, you can only close a window if you opened it with Javascript. For instancevar popUp = window.open('popup.html');(.......)popUp.close();This code isn't worth much, because it's not connected to any event (so it opens a window that it immediately closes) but that's the basic idea.


How do you enter a search button in HTML?

You can enter a search button in HTML using this code, .


How do you do Screen Dumping?

Press the Print Screen button which is on your keyboard. Go to the application you want to put it in and then go to the Edit Menu and choose Paste. A full screen shot will appear. Using Alt and the Print Screen button will allow you to take a copy of just the open window or dialog box, instead of the entire screen.


Which are the AWT components in Java?

AWT stands for Abstract window toolkit. AWT gives us the components using which we can create User- Interface based applications in java. Some of the components are: a. Frame b. Panel c. Window d. CheckBox e. RadioButton f. Button g. TextBox h. TextArea i. Etc


How do you retrieve the target path of any existing shortcut such as a lnk file in Visual Basic?

Here is how to open a Windows Shortcut file Using VB6. This is a safe and documented method. Create a New VB6 Project In the Project References Add "Windows Script Host Object Model" Place a Command Button on the form named CommandButton1 Click on CommandButton1 Private Sub CommandButton1_Click() Dim Oshell As New WshShell Dim Osh As WshShortcut Dim Fn As String Dim Otarget As String 'Set the path and file name of the shortcut Fn = "C:\shortcut path\shortcut filename.lnk" ' ' If the shortcut file is existing, it will open the existing file ' Set Osh = Oshell.CreateShortcut(Fn) Otarget = Osh.TargetPath ' ' Using the Watch window see the other properties of Osh object ' End Sub

Related questions

Back electric window wont close on 95 Saturn Twincam Button fell off Wont close from using driver side button either Any help?

needs electric motor located underneath glass, behind door panel.


What changes the display of files and folders in the computer window to list or Details using the button on the toolbar?

start button


How do you close a window document using the keyboard only?

Alt + f4


How can you get off this page?

To exit the page, you can simply close the tab or window that the page is open in. If using a mobile device, you can navigate back to the previous page or press the home button to return to the home screen.


How do you open the rear window if the button does not work?

You buy a new motor for the window or open it using the switch beside the driver door (if it is a relitively new car).


What button is used to Navigate to any other device or folder from the current device and folder using the Navigation pane or this bar in the computer window?

your mom is the button


How do you end Poptropica?

You can disconnect from Poptropica by closing your browser, or by using the "save and exit" button at the bottom right of the window.


I have a 2002 mercury montaineer the right side window will go down while using the driver side switch but you have to use the passenger side button to let the window back up any suggestion on how fix?

Fixing the front passenger seat window is quite an easy thing. All there is to do, is push the window button and the job is done.


How do you wine windows up using remote key Benz 1998 c230?

Hi, for a 1999 model: from about 2 feet away point the remote key front (small infrared lens) to the small "window" at the front door handle. depress and hold the close button until the windows close.


How do you exit Google after searching?

You close the tab or window your in. Your not really in Google, your just using it to search for websites.


Registry edit window close after couple of second?

please write questions using proper grammar


How do you quickly close the current application window?

Depends on what operating system you are using. In Windows, Alt+F4 will close a window right away. Ctrl+Q will sometimes quit an application, which is better than closing the window itself. Ctrl+W will often close a sub-window in a multiple-document interface, or things like a single tab in Firefox.