Forums

Forums / Bugs & Issues / Jquery Issue with IE browser.

Jquery Issue with IE browser.

Thread is closed for posting
7 posts, 1 answered
  1. vmeesaraganda
    vmeesaraganda avatar
    48 posts
    Registered:
    19 Mar 2015
    19 Mar 2015
    Link to this post
    We are facing some issue in CRMPortal. In CRM Portal connector some time the radio button change is not triggering the jquery event in IE(Version 11). It is working in Chrome and Firefox. In IE first time page load this issue we are getting but when we refresh the page in IE , then radio button change event is working. Please help as we are in a middle of development period.
  2. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    19 Mar 2015 in reply to vmeesaraganda
    Link to this post

    Hi Vamsidhar,

    Please try the following suggestions:

     1. Make sure to attach the change event to all of the radio button input elements.

     2. Ensure that the JavaScript widget used to create the change handlers is configured to include "Before the closing body tag", this will ensure the JavaScript is loaded after the whole page is loaded.
     

     3. Check if there are any JavaScript errors on the page in IE. Open the developer console using F12 and look for errors that may be blocking execution.

    Last modified on 19 Mar 2015 14:03 by Clinton Bale
  3. vmeesaraganda
    vmeesaraganda avatar
    48 posts
    Registered:
    19 Mar 2015
    20 Mar 2015 in reply to Clinton Bale
    Link to this post
    Hi Clinton,

    I had tried all the suggestions but no luck.

    1) I have only one radio button on the form and i double checked that onchange event being attached to it.

    2) I tried that JavaScript widget used to create the change handlers is configured to include "Before the closing body tag"

    3) I don't see any errors in the developer console form Developer Tools (F12).
     
  4. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    23 Mar 2015 in reply to vmeesaraganda
    Link to this post
    Hello Vamsidhar,

    I apologize for the late response. I will need a little more information on what radio button controls you are trying to attach the changed event to. Are you using in-line HTML radio buttons, a Sitefinity widget radio button, or The Portal Connector's Yes/No widget?

    If you are using the Portal Connector's control or one of Sitefinity's widgets there is an API in place to properly manage the events of the control. The RulesManager control already interacts with this API for you and will allow you to attach the "change" event to any Portal Connector widget. 

    If you are interacting with a widget directly refer to the API here on how to attach events to the "RadButton" control if the widget is utilizing that.

    If you are using just a standard HTML input controls with jQuery, try binding the change event using something like this:

    $("input[name=radioGroupName]:radio").change(function () { /* Code Here */ });

     
    Last modified on 16 May 2017 12:05 by Kasun
  5. vmeesaraganda
    vmeesaraganda avatar
    48 posts
    Registered:
    19 Mar 2015
    30 Mar 2015 in reply to Clinton Bale
    Link to this post
    Hi Clinton,

    Thanks for you response.
    We have been testing this issue with various browsers and various versions of IE then we find it is working with fine with IE 8.


  6. vmeesaraganda
    vmeesaraganda avatar
    48 posts
    Registered:
    19 Mar 2015
    10 Apr 2015
    Link to this post
    Hello Clinton,

    We are observing some script error Warnings in IE 8 when we are use Rule Managers on the form.
    To get  these warnings in IE 8 one have to enable a setting Display a notification about every script error under Browser in Advanced tab of Internet Options.
  7. Clinton Bale
    Clinton Bale avatar
    126 posts
    Registered:
    21 Feb 2014
    Answered
    10 Apr 2015 in reply to vmeesaraganda
    Link to this post
    Hi Vamsidhar,

    After some testing in IE8 with a page and form with configured to use a Rules Manager, we could not produce any JavaScipt errors or warnings. Please ensure your JavaScript is valid script that is compatible with IE8. Any samples that you can provide us of your JavaScript would be very helpful.

    Thanks,
    Clinton

    Last modified on 10 Apr 2015 16:04 by Clinton Bale
7 posts, 1 answered