• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Refreshing in IE9

Community Beginner ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

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

Views

585

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

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?

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

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>#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>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Explorer ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

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>

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Mar 08, 2013 Mar 08, 2013

Copy link to clipboard

Copied

LATEST

thanks for you help fixed the issue

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Resources
Documentation