Home » jQuery » parseInt in jQuery for type conversion

parseInt in jQuery for type conversion

convert data type to integer in jquery. Some times need to convert type into integer for doing different kinds of numerical operations.
syntax: parseInt(value);
Eg : var smarterthanyou = parseInt($(“#yourname”).val());

Leave a Reply

x

Check Also

website development

How to disable AdBlock extensions for a particular website

Example website is smarttips.in ,replace with your website and guide your users to disable the ...