I have an <input>
element which is loaded with a default value. Later on, i change that value via jQuery's input.val("different value")
.
When I console.log() the element, I see this in firebug:
Object[input.cs_required.form-control.input-sm property value = "12/29/2014" attribute value = "12/02/2014"]
- Why are there two different values assigned to the input?
- What is the difference between the property value and the attribute value?
- Should I be concerned?