How to check data type of any variable in jQuery?



How to check data type of any variable in jQuery?..

Answer / chaitanya

Using $.type(Object) which returns the built-in JavaScript type for the object.

Is This Answer Correct ?    2 Yes 0 No

Post New Answer

More jQuery Interview Questions

How do you get the text value of a selected option?

0 Answers  


How to check or uncheck all checkboxes using jquery?

0 Answers  


What is the difference between onload() and document.ready()?

0 Answers  


differentiate between bind() vs live() vs delegate() methods in jquery.

0 Answers  


Can we have multiple document.ready() function on the same page? : jquery mobile

0 Answers  






Explain type paremeter of jquery ajax method?

0 Answers  


What is the difference between $(window).load and $(document).ready function in jquery?

0 Answers  


Define all the ways to include jquery in a page?

0 Answers  


How we can modify the css class in jquery?

0 Answers  


What is the difference between $(this) and 'this' in jquery?

0 Answers  


Can we call C# code behind using jQuery?

0 Answers  


Why we need jquery mobile? : jquery mobile

0 Answers  


Categories