PHP & JAVASCRIPT - How to take values from multiple input fields after clicking on the buttons which are connected to each input field? : <p>I want to create a subpage for changing the username, password, mail etc.
I have 4 inputs and 4 buttons next to each input in my php file. 
I am wondering, how can I take the value from one of the input field after clicking on the button next to it? I want to take that values without reloading the page.
What's more first click on the button changes the input field from "disabled" (in PHP) to "prop('disabled', false)" (in JAVASCRIPT).
Then, you can enter something into the input field.
The second click on the same button changes similarly (from "abled" to "disabled"). So I want to take the input value after SECOND CLICK on the button.</p>

<p>HELP ME! :&lt;</p>

<p>My code:
[HTML] <a href="https://i.stack.imgur.com/JE9K9.png" rel="nofollow">https://i.stack.imgur.com/JE9K9.png</a>
[JAVASCRIPT] <a href="https://i.stack.imgur.com/syoKa.png" rel="nofollow">https://i.stack.imgur.com/syoKa.png</a></p>
