Guest User

Guest User

  • Tech Writer
  • 103
  • 3.4k

concatenate value in input.

May 27 2021 6:51 AM
how to concatenate value in input  here value="CookieValue"
 
<script>
$(document).ready(function () {
var CookieValue = Cookies.get('player_id')//get the value from cookie
})
</script>
<label><input type="checkbox" value="CookieValue" id="toPlayerId" name="sport"></label>

Answers (3)