AmitDiwan has Published 10744 Articles

HTML DOM Input Reset autofocus property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:52:42

186 Views

The HTML DOM Input Reset autofocus property is associated with the HTML element’s autofocus attribute. This property is used for setting or returning if the reset button should be automatically focused when the page loads or not.SyntaxFollowing is the syntax for −Setting the autofocus property −resetObject.autofocus = true|falseHere, true ... Read More

How to find the name of a column in MySQL?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:48:51

3K+ Views

For this, you can use SHOW COLUMNS or INFORMATION_SCHEMA.COLUMN.Let us first create a table −mysql> create table DemoTable603    (       ClientId int NOT NULL AUTO_INCREMENT,       ClientName varchar(100),       ClientAge int,       ClientAddress varchar(100),       ClientCountryName varchar(100),     ... Read More

HTML DOM Input Range value property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:46:44

917 Views

The HTML DOM Input range value property is associated with the input element having type=”range” and the value attribute. It is used to return the value of slider control value attribute or to set it. The value attribute can be the default value or the value set by dragging the ... Read More

HTML DOM Input Range type property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:42:41

143 Views

The HTML DOM Input Range type property is associated with the input element having its type=”range”. It will always return range for the input range element.SyntaxFollowing is the syntax for range type property −rangeObject.typeExampleLet us look at an example for the range type property − Live Demo Input range ... Read More

MySQL Quoted table/field names vs unquoted names?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:40:38

201 Views

Any identifiers like tablename, stored procedure, viewname or column etc. may be quoted or unquoted. When an identifier is a reserved keyword then you must quote it, else an error would occur.Let us first create a table. Here, we have taken field names as reserved keywords −mysql> create table `INT` ... Read More

HTML DOM Input Range stepUp() method

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:39:10

130 Views

The HTML DOM Input Range stepUp() method is used for incrementing the slider control value by a specified number. If left blank then it will increment by 1.If the step attribute is specified then the stepUp() method will increment in multiple of that. Eg: If step=”20” then stepUp(2) will increment ... Read More

HTML DOM Input Range stepDown() method

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:34:50

128 Views

The HTML DOM Input Range stepDown() method is used for decrementing the slider control value by a specified number. If left blank then it will decrement by 1. If the step attribute is specified then the stepdown() method will decrement in multiple of that. Eg: If step=”20” then stepDown(2) will ... Read More

Perform MySQL ORDER BY keyword match?

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:33:34

161 Views

For this, let us create a table, insert some values and use ORDER BY CASE. Let us first create a table −mysql> create table DemoTable602 (GameName text); Query OK, 0 rows affected (0.55 sec)Insert some records in the table using insert command −mysql> insert into DemoTable602 values('Candy cash game'); Query ... Read More

Retrieve records whenever a column value starts with 2 vowel letters in MySQL

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:30:19

118 Views

Let us first create a table −mysql> create table DemoTable664 (CityName varchar(100)); Query OK, 0 rows affected (0.89 sec)Insert some records in the table using insert command −mysql> insert into DemoTable664 values('Springfield'); Query OK, 1 row affected (0.15 sec) mysql> insert into DemoTable664 values('Austin'); Query OK, 1 row affected (0.30 ... Read More

HTML DOM Input Range step property

AmitDiwan

AmitDiwan

Updated on 22-Aug-2019 12:29:44

151 Views

The HTML DOM Input Range step property is used for setting or returning the slider control step attribute value. It specifies how much the slider will move on each movement. By using the max and min attribute with the step property, we can define a range of legal values.SyntaxFollowing is ... Read More

Advertisements