Answer the question
In order to leave comments, you need to log in
How to properly add numeric type (number) to jQuery Object (div element)?
In simple terms: How to add a number type inside a div using jakveri.
Analog text();
Or is it that the numeric type inside the html element is always returned as a test?
var jqueryObject = $('<div></div>').HOW_ADD_NUMBER(Number); // ???????
Answer the question
In order to leave comments, you need to log in
There is always text information inside the tags. And already you can extract it through .text() , and convert it into an integer (or fractional - depends on the task) variable using parseInt() or parseFloat()
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question