$(document).ready() : This event is triggered when the DOM (Document Object Model) is ready, it means that HTML structure of the page has been parsed and is ready to be manipulated with JavaScript. It occurs before all the external resources (like images and stylesheets) are fully loaded.This event used for tasks that involves DOM manipulation […]
Category: Javascript
Why Developers Prefer JavaScript Over PHP
It’s important to note that there isn’t necessarily a one-size-fits-all answer to this question, as different developers may have different preferences based on their own experiences and skill sets. Both languages have their strengths and weaknesses and are commonly used in different contexts. here are some potential reasons why some developers might prefer JavaScript over […]
Difference between == vs === in JavaScript
Hello, == and === operator difference very confusing. today I am explaining you difference between == vs === in javascript. we can use both operator for comparison. ==(Double Equals Operator) === (Triple Equals Operator) It will used when compare variables or values. It will also used when compare variables/values. It is use when we are unsure about the data […]
How to get browser window width and height in Javascript ?
Hi Folks, I am explaining you how to get browser window width and height in Javascript . we can get dimensions of the browser window height and width peoperties using window object in javascript. window.outerWidth : using the javascript code. it will provide overall width of the browser window.window.outerHeight : it can provide overall height […]
use parseInt() in JavaScript
in this post, I will explain about the parseInt function in JavaScript. how to use parseInt() in JavaScript. parseInt() parses a string and returns as an integer or NaN. The main purpose of use the parseInt function is to extract number from a string. it returns value to an actual number. Syntax : Example : […]
How to pass value from iframe to parent
I am explaining you, how to pass value from iframe to parent end.through iframe creates an inline frame in which we can put another page. We can send values from iframe to the parent page and parent to iframe side with the use of javascript code. In this example I am sending value from iframe […]
Javascript Remove First Element from Array?
you want to remove first element from an array without any loop. you can first element value from array without loop.I am explaining you, how to remove first value from an array. let’s see example : Result: Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | Skype – azaruddin23. […]
How to Disable a Anchor Tag in HTML using css, jquery and javascript ?
you want to disable anchor tag in html using css, jquery and javascript. you will learn how to disable a tag in html. I am explaining you, how to disable anchor tag in html using css. let’s see example : Example 1 : I am explaining you, how to disable anchor tag in html using […]
JavaScript find last element value from an Array
if you want to find last element value from an Array using Javascript so I am explaining you how to get last value in array. let’s see example how to get last value : Azhar ShaikhHello, Welcome to webdeveloperindia.in. I am a full-stack web developer. Email – [email protected] | Skype – azaruddin23. I have knowledge […]