2
var check=$("#timer").val(); alert(check);
<p id="timer" >2</p>
$("#timer").text();
need so
var check=$("#timer").text(); alert(check);
Source: https://ru.stackoverflow.com/questions/612027/More articles:Why do you need ebp if you can without it [closed]How to work with AlarmManager?What is the best way to do a general operation for all controller methods in Spring MVC?Adding JSON data to ComboBoxSpring xml contextTwo cursors via CursorLoaderIncorrectly considers the amount. Tell me what the error is [closed]Application work for different versionsQuestion about logback and configuration fileI can not generate an application due to an errorAll Articles
$("#timer").text();- Igor