locked
Converting .htc to .js RRS feed

  • Question

  • User-851967432 posted

    Hi folks,

    If anyone can offer some advice besides "<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">" I would be eternally grateful.

    I have scraped the bottom of the internet floor trying to find a way to convert .htc to .js with very very little luck. I have a few large .htc files that need to be converted to .js without a workaround. I'm updating the site to meet IE11 standards.

    For the most part, I'm able to convert most of the code but I'm stuck on events.

    <PUBLIC:EVENT    ID="eventService" NAME="onserviceavailable"/>
            eventService.fire(evt);
            if (oS.fSeq)
                return callNext(oS);
            while (oS.nextCall != null) {
                var nc = oS.nextCall;
                oS.nextCall = oS.nextCall.next;
                _invoke(nc);
            }

    How would you recode this in jQuery or JavaScript?
    Thanks,

    Adam Turner

    Thursday, December 29, 2016 8:01 PM

Answers

  • User-474980206 posted

    this is part of the web service behavior. I think it defines the wsdl load callback.

    you would replace the web service behavior completely with an ajax library, like jQuery.  it will have completion events you can use instead.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 30, 2016 12:57 AM

All replies

  • User-474980206 posted

    this is part of the web service behavior. I think it defines the wsdl load callback.

    you would replace the web service behavior completely with an ajax library, like jQuery.  it will have completion events you can use instead.

     

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Friday, December 30, 2016 12:57 AM
  • User-851967432 posted

    Yes I essential did an ajax (jquery) call.

    Thursday, February 2, 2017 3:30 PM