You can use the below script to get the Attribute type in MSCRM from Javascript
Xrm.Page.getAttribute(fieldName).getAttributeType()
You can use the below script to get the Attribute type in MSCRM from Javascript
Xrm.Page.getAttribute(fieldName).getAttributeType()