Rama Giri

Rama Giri

87 Articles Published

Articles by Rama Giri

87 articles

CSMA with Collision Detection (CSMA/CD

Rama Giri
Rama Giri
Updated on 16-Mar-2026 78K+ Views

Carrier Sense Multiple Access with Collision Detection (CSMA/CD) is a network protocol for carrier transmission that operates in the Medium Access Control (MAC) layer. It senses or listens whether the shared channel for transmission is busy or not, and defers transmissions until the channel is free. The collision detection technology detects collisions by sensing transmissions from other stations. On detection of a collision, the station stops transmitting, sends a jam signal, and then waits for a random time interval before retransmission. How CSMA/CD Works CSMA/CD Operation Process ...

Read More

HTML DOM Input Checkbox disabled Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 1K+ Views

The HTML DOM Input Checkbox disabled property sets or returns whether a checkbox input element is enabled or disabled. When a checkbox is disabled, it cannot be clicked or modified by the user and appears grayed out in the browser. Syntax Following is the syntax for returning the disabled state − inputCheckboxObject.disabled Following is the syntax for setting the disabled state − inputCheckboxObject.disabled = booleanValue Return Value The disabled property returns a boolean value indicating whether the checkbox is disabled (true) or enabled (false). Parameters The booleanValue ...

Read More

HTML DOM Input Checkbox required Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 438 Views

The HTML DOM Input Checkbox required property determines whether a checkbox input must be checked before a form can be submitted. This property corresponds to the HTML required attribute and provides a way to enforce mandatory checkbox selections in web forms. Syntax Following is the syntax for getting the required property value − inputCheckboxObject.required Following is the syntax for setting the required property − inputCheckboxObject.required = booleanValue Return Value The required property returns a Boolean value − true − The checkbox is required and must be checked ...

Read More

HTML DOM Input Color defaultValue Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 198 Views

The HTML DOM Input Color defaultValue property sets or returns the default value of a color input field. This property represents the initial value specified in the HTML value attribute, which may differ from the current value if the user has changed the color selection. Syntax Following is the syntax for getting the default value − inputColorObject.defaultValue Following is the syntax for setting the default value − inputColorObject.defaultValue = "colorValue" Parameters The defaultValue property accepts a string parameter representing a valid hexadecimal color value − ...

Read More

HTML DOM Input Color form Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 150 Views

The Input Color form property in HTML DOM returns a reference to the form element that contains the color input. This read-only property is useful for accessing the parent form of a color input element programmatically. Syntax Following is the syntax for accessing the form property − inputColorObject.form Return Value The form property returns a reference to the HTMLFormElement object that contains the color input. If the input is not inside a form, it returns null. Example − Getting Form Reference Following example demonstrates how to get the form reference of ...

Read More

HTML DOM Input Color Object

Rama Giri
Rama Giri
Updated on 16-Mar-2026 207 Views

The HTML DOM Input Color Object represents an HTML input element with type="color". This object provides methods and properties to interact with color picker elements through JavaScript, allowing developers to create, access, and manipulate color input fields programmatically. Syntax Following is the syntax for creating an input color object − var colorObject = document.createElement("input"); colorObject.type = "color"; Following is the syntax for accessing an existing color input − var colorObject = document.getElementById("colorId"); Properties The Input Color Object supports several properties that allow you to control its behavior and appearance ...

Read More

HTML DOM Input Color value Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 162 Views

The HTML DOM Input Color value property returns or sets the value of an HTML color input field as a hexadecimal color string. This property allows you to programmatically get the currently selected color or change the color picker to display a different color value. Syntax Following is the syntax for returning the color value − inputColorObject.value Following is the syntax for setting the color value − inputColorObject.value = "hexColorString" Return Value The value property returns a string representing the color in hexadecimal format (e.g., #ff0000 for red). If ...

Read More

HTML DOM Input Date disabled Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 190 Views

The HTML DOM Input Date disabled property controls whether a date input field is enabled or disabled. When disabled is set to true, the date input becomes unresponsive to user interaction and appears grayed out. This property is useful for conditionally enabling or disabling date selection based on application logic. Syntax Following is the syntax for getting the disabled state − inputDateObject.disabled Following is the syntax for setting the disabled state − inputDateObject.disabled = booleanValue Parameters The disabled property accepts a boolean value − Value ...

Read More

HTML DOM Input Date name Property

Rama Giri
Rama Giri
Updated on 16-Mar-2026 170 Views

The HTML DOM Input Date name property gets or sets the value of the name attribute for an HTML element. This property is essential for identifying form data when submitted to a server, as the name serves as the key in name-value pairs. Syntax Following is the syntax to get the name attribute value − inputDateObject.name Following is the syntax to set the name attribute value − inputDateObject.name = "newName" Parameters newName − A string value representing the new name for the input date element. ...

Read More

Match any single character outside the given set.

Rama Giri
Rama Giri
Updated on 15-Mar-2026 144 Views

To match any single character outside the given set with JavaScript RegExp, use the [^...] metacharacter. The caret ^ inside square brackets creates a negated character class that matches any character NOT in the specified set. Syntax /[^characters]/flags Where characters are the characters you want to exclude from matching. Example: Matching Characters Outside a Set JavaScript Regular Expression var myStr = "Welcome!"; var ...

Read More
Showing 1–10 of 87 articles
« Prev 1 2 3 4 5 9 Next »
Advertisements