0

I have this

<input type="number" disabled  name="amount" id="amount" placeholder="0.00" >

and this Jquery

$('#amount').val(100);

it goes smoothly and it shows in the UI. my problem is when I submit the button the value of $request->amount is null? how can I fix it? please help and save my day guys. thank you

1 Answer 1

4

Instead of disabled use readonly

<input type="number" name="amount" id="amount" placeholder="0.00" readonly>
Sign up to request clarification or add additional context in comments.

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.