javascript - How to: Check if textarea value = 1, do function -
javascript - How to: Check if textarea value = 1, do function -
how can function $("#div1").fadeout();
if textarea value == 1.
i found doesn't seem work:
if(document.getelementbyid('#textarea1').value.length === 1) { homecoming false; }
thanks alot
you do:
if($('#textarea1').val() === '1'){ //do // use: $('#textarea1').val().length }else{
javascript jquery
Comments
Post a Comment