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

What is get()? : jquery mobile

0 Answers  


How is body onload() function is different from document.ready() function used in jquery?

0 Answers  


How do you install/use jquery in a project. What is the minimum setup needed to start using jquery.

0 Answers  


List the basic selectors in jquery?

0 Answers  


What is the use of jquery.data()?

0 Answers  


Will Events Are Also Copied On Clone In Jquery?

0 Answers  


What to do to select element having a particular class (".selected")? : jquery mobile

0 Answers  


How to write browser specific code using jquery? : jquery mobile

0 Answers  


What are the slow selectors in jquery? : jquery mobile

0 Answers  


How does jquery store data related to an element?

0 Answers  


How to search for descendant elements that match the specified selectors using ?

0 Answers  


What is the difference between jquery.size() and jquery.length?

1 Answers  


Categories