locked
How to convert this line from crm 2011 to 4.0 var s = event.srcElement.tagName; RRS feed

  • Question

  • I have a requirement to convert javascript from 4.0 to 2011. I am not able to get any reference on how to convert the below code.

    var s = event.srcElement.tagName;

    Please help.!

    Friday, September 27, 2013 5:17 AM

All replies

  • Access to the DOM of the page directly is always an unsupported javascript.

    If you post your code, so we can kno wwhat is actually doing, maybe we can find a supported way to get the result or an alternative solution.


    My blog: www.crmanswers.net

    Friday, September 27, 2013 7:16 AM
  • Try:-

    executionObj.getEventSource();

    OR

    executionObj.getEventSource().getValue();


    Regards Faisal

    Monday, September 30, 2013 10:51 AM