Easy as this!
1 2 3 |
var textboxvalue = $("#myid").val(); |
and to set it with a new value
1 2 3 |
$('#myid').val(newvalue); |
You may want this Get-element-value-name-id-attr
Easy as this!
1 2 3 |
var textboxvalue = $("#myid").val(); |
and to set it with a new value
1 2 3 |
$('#myid').val(newvalue); |
You may want this Get-element-value-name-id-attr
© 2022 CODEHAVEN