Ask Your Question
1

Can the id be set using the onresize attribute?

asked 2023-06-09 08:53:24 +0000

woof gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2023-06-09 08:58:02 +0000

lakamha gravatar image

No, the onresize attribute is used to define a script that will run when an element is resized, and cannot be used to set the id attribute of an element. The id attribute can only be set through HTML or JavaScript code, but not through event attributes like onresize.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2023-06-09 08:53:24 +0000

Seen: 7 times

Last updated: Jun 09 '23