How to fill in an input with other values based on choosing a radio button

Asked

Viewed 30 times

-2

<input type="radio" name="qtd" value="250"> escolhido
<input type="radio" name="qtd" value="500">
<input type="radio" name="qtd" value="1000">

Here I want you to load the value from the bank due to the quantity chosen by radio button:

<input type="text" name="valor" value="5,00"> resultado
  • Please clarify your specific problem or provide Additional Details to Highlight Exactly what you need. As it’s Currently Written, it’s hard to Tell Exactly what you’re asking.

  • 2

    We don’t code for users...

No answers

Browser other questions tagged

You are not signed in. Login or sign up in order to post.