Quantcast
Channel: Active questions tagged html - Stack Overflow
Viewing all articles
Browse latest Browse all 74793

jquery - change raido button selection on input

$
0
0

i have this code:

Amount<input type='text' name='amount' size='10'><br>      
Free<input type='text' name='fees' size='10'> <br> 
 ------------<br><input type='radio' name='amount_type' value='Receive'checked> Receive<br><input type='radio' name='amount_type' value='Send'> Send<br>
-------------<br><input type='radio' name='curr' value='LBP'checked> LBP<br><input type='radio' name='curr' value='USD'> USD<br>

what i want to do is

  • if amount more than 5000 , check radio button curr : value LBP else check usd

  • if fees are inserted , in radio button amount_type : check Receive else check send.

can you assist please


Viewing all articles
Browse latest Browse all 74793

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>