Chrome 63+ throws an error [DOM] with an input type password and non-unique identifiers

In Chrome 63, the following error is thrown:

[DOM] Found 2 items with non-unique identifier #a: (More: https://goo.gl/9p2vKq )

https://jsfiddle.net/arnabgh/jz186qxe/

<input type="password">
<input id="a">
<input id="a">

Is there any special check when using an input type password starting with Chrome 63?

+10
source share
5 answers

Yes there is; that is why you see this message. But I suspect that this is not what you really ask.

, Chrome , , , ( ), . .

, ( , , ), , HTML, .:

HTML

- HTML, -. :

id : id.

( , , , , , .)

, , , , ( ), - .

+20

, - , (, ) "", "" - ? ( , ), , , , - . JS ( AJAX/) ( ), JS .

+1

id='a' class='a' , .a in , , id='a' , id='b',

+1

, a a. Yo

0

[id] [attr.id]

, , .

0

All Articles