---
title: "Discussion on \"Quirks with 'value' attrib/prop on 'input' element/object\" | Hashnode"
description: "Discussion on \"Quirks with 'value' attrib/prop on 'input' element/object\". <input value='something'>\n\nIf we change the user input (text on ui) to be 'something else', what happens to the attribute value in the html and what happens to the value property on the dom object representing that element?\nThe property value will ch..."
url: "https://hashnode.com/posts/quirks-with-value-attribprop-on-input-elementobject/6584317c3f4044b35efb1fa0"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Quirks with 'value' attrib/prop on 'input' element/object](https://justmyahia.hashnode.dev/quirks-with-value-attribprop-on-input-elementobject?utm_source=hashnode&utm_medium=feed)

<input value='something'> If we change the user input (text on ui) to be 'something else', what happens to the attribute value in the html and what happens to the value property on the dom object representing that element? The property value will ch...

Dec 21, 2023 · 2 min read · justmyahia.hashnode.dev  
Read the article

-   [#frontend-development](https://hashnode.com/tag/frontend-development)
-   [#web-development](https://hashnode.com/tag/web-development)
-   [#webdev](https://hashnode.com/tag/webdev)
-   [#javascript](https://hashnode.com/tag/javascript)

## Written by

[Nuclear](https://hashnode.com/@itsmohamedyahia)

@itsmohamedyahia · Egypt

  
[View profile](https://hashnode.com/@itsmohamedyahia)

Aspiring Frontend Engineer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
