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

List the advantage of using minimized version of jquery?

1 Answers  


How to add and remove css classes to an element using jquery?

1 Answers  


What is the use of jQuery load method?

1 Answers  


What is jQuery UI?

2 Answers  


What is the use of val() method in jquery?

1 Answers  


What is parent() in jquery?

1 Answers  


How we can apply css in multiple selectors in jquery?

1 Answers  


How do you check or uncheck a checkbox input or radio button?

1 Answers  


Can you please explain the difference between .js and .min.js? : jquery mobile

1 Answers  


How to programmatically trigger a click event thats being handled by jquery only?

1 Answers  


How to check jQuery version?

1 Answers  


How to validate phone number using jquery?

1 Answers  


Categories