4 Replies Latest reply on Mar 8, 2013 1:04 PM by hook'em

    Refreshing in IE9

    hook'em

      Using jquery to pull CSS works fine in all other borwsers except IE9 page wont refresh?

        • 1. Re: Refreshing in IE9
          Ashish Todon Level 1

          Hi there,

          Can you please explain your problem. Is your css file is loaded to the browser of you are using ajax request for pulling css file?

          • 2. Re: Refreshing in IE9
            hook'em Level 1

            Using an ajax request to pull the file

             

            <script type="text/javascript">


            function contract(vendor_number) {
            $.ajax({
               type: "GET",
               url: "/cfc/Booth.cfc?method=contractExists&returnformat=json",
               data: {market_code: 114 ,
                   vendor_number: vendor_number
                   },
               dataType: "json",
               success: function(data){
                /*alert('Contract Data');*/
               /* console.log( data['DATA']);*/
                if (typeof data['DATA'] !== 'undefined' && data['DATA'].length > 0){
                 /* contract on file */
                 //url for booth link
                 $('#boothURL').attr('href','/vendor/online_market_reg/booth_contract_BS.cfm?<cfoutput>#SE SSION.URLToken#</cfoutput>&v='+vendor_number );
                 $('#boothProgressBar').removeClass().addClass('progress progress-warning');
                 $('#boothBar').empty();
                 $('#boothBar').text('Submitted Pending Approval')
                } else {
                 /* no contract on file */
                 $('#boothProgressBar').removeClass().addClass('progress progress-danger');
                 $('#boothBar').empty();
                 $('#boothBar').text('Not Complete')
                 $('#boothURL').attr('href','/vendor/online_market_reg/booth_contract_BS.cfm?<cfoutput>#SE SSION.URLToken#</cfoutput>&v='+vendor_number );
                }   
               },
               error: function(data){
                alert('error getting contract status');
               }
              });
              return false

            }

             

            </script>

            • 3. Re: Refreshing in IE9
              Ashish Todon Level 1

              please add "cache:false" attribute to the call

               

              <script type="text/javascript">


              function contract(vendor_number) {
              $.ajax({
                 type: "GET",
                 url: "/cfc/Booth.cfc?method=contractExists&returnformat=json",
                 data: {market_code: 114 ,
                     vendor_number: vendor_number
                     },

                  cache:false,
                 dataType: "json",
                 success: function(data){
                  /*alert('Contract Data');*/
                 /* console.log( data['DATA']);*/
                  if (typeof data['DATA'] !== 'undefined' && data['DATA'].length > 0){
                   /* contract on file */
                   //url for booth link
                   $('#boothURL').attr('href','/vendor/online_market_reg/booth_contract_ BS.cfm?<cfoutput>#SESSION.URLToken#</cfoutput>&v='+vendor_number );
                   $('#boothProgressBar').removeClass().addClass('progress progress-warning');
                   $('#boothBar').empty();
                   $('#boothBar').text('Submitted Pending Approval')
                  } else {
                   /* no contract on file */
                   $('#boothProgressBar').removeClass().addClass('progress progress-danger');
                   $('#boothBar').empty();
                   $('#boothBar').text('Not Complete')
                   $('#boothURL').attr('href','/vendor/online_market_reg/booth_contract_ BS.cfm?<cfoutput>#SESSION.URLToken#</cfoutput>&v='+vendor_number );
                  }   
                 },
                 error: function(data){
                  alert('error getting contract status');
                 }
                });
                return false

               

              }

               

              </script>

              • 4. Re: Refreshing in IE9
                hook'em Level 1

                thanks for you help fixed the issue

                1 person found this helpful