asp.net - Is it possible to get the type of a .Net object using javascript? -
I have ASP A web application is written using Net MVC. One function of the application is to return a list of objects on the web page using JSN, although these items are of various types, how can I determine the types of these items using javascript?
Javascript does not have any type of object type. If you need to run some type of logic client-side, then add a property returning type name to your object, then see it in JS.
Comments
Post a Comment