How to send request data in Ajax HTTP GET and POST? In this post, going to show How to send request data in Ajax HTTP GET and POST? How to send data insecure? what is the best Http method to send request data? How to send data in the query string in Http GET and […]
Category: Web Technologies
We are providing basic and most useful concepts for Web Technologies such as JavaScript, HTML, JQuery.
How to open popup window in javascript
Sometimes we need to open new popup window (browser) through javascript without disturbing main window. Popup windows are different to simply opening a new browser window. Here I am sharing different types of popup windows with different properties. Popup window javascript syntax window.open(“url”, “window-Name”, “window-Features”); url: Page url to open new windows, window-Name : name […]
A local adversary can steal password from the autocomplete feature of the browser
How to detect Java and cookies whether enabled or not?
How to detect Java and cookies whether enabled or not? Most of the websites using cookies to store data in the temporary file and java. Suppose in the system where you are accessing application cookies are disabled then what will happen? The application will not store any data to handle the request so that end […]
How to detect the browser window size in JavaScript?
To determine the size of the browser window, use the following properties: in Internet Explorer (backward-compatibility mode): document.body.offsetWidth document.body.offsetHeight in Internet Explorer (standards mode, document.compatMode==’CSS1Compat’): document.documentElement.offsetWidth document.documentElement.offsetHeight in most other browsers – as well as IE9 (standards mode): window.innerWidth window.innerHeight (the page’s visible width/height) window.outerWidth window.outerHeight (the browser outer width/height) The following code sets the […]
How to detect browser details?
How to detect browser details? Each and every browsers(IE, Mozilla, Chrome, Safari etc….) having own properties and own setup. Then while creating website we need to check out cross browser. Some of the functionality in the website we have to write logic according the browser specific. Then how to detect browser details? Let’s us understand […]
How to detect operating system on the client machine?
How to detect operating system on the client machine? To detect the operating system on the client machine, your script can analyze the value of navigator.appVersion or navigator.userAgent. Below is a simple example of a script that sets the variable OSName to reflect the actual client OS. // This script sets OSName variable as follows: […]