I have moved from an older version of CRM to CRM online and I need to convert my javascript functions to be compatible with CRM online. I'm having a problem converting this script below to its equivalent for CRM Online:
var obj = document.getElementById(fieldName + '_c').children[0];
var childNodeArray =obj.childNodes;
obj.removeChild(childNodeArray[3]);
var parentElement=obj.parentElement;
childNodeArray =parentElement.childNodes;
I believe you are now use CRM 2015/2016. And that means that your script is not valid anymore. It would be really hard or even impossible to convert your script to do the same action in CRM. I believe it is more appropriate to convert your code to supported (remove DOM manipulations from code) so can you please tell what your code should do?