When a textbox is disabled you cant change the value.
Unfortunately it is not submitted when it is inside a form.
The Readonly attribute allowed me to do this.
the JS example dosent change your previous <input>
its modifiying a <input> inside your <form>
.... someone knowledge ends where
someone else knowledge starts
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.