function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Jack Rose 1Jack Rose 1 

Bootstrap visualforce only working in chrome

Hi All, 

I am new to developing so hope you all can help with an issue i'm having. I have been provided with some code by a developer that has now moved on. I have a visualforce page that uses bootstrap. The page is for the creation of cases. The page functions fine in Chrome, but not IE or firefox.
When using IE11, if a rerender is triggered, all previously captured data is removed and when submitting the form the data doesn't appear in the case (although one is created). 
When using Firefox, when submitting the form it clears all the captured data and doesn't submit the form. 

Any suggestions?
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Jack,

For a start, ensure that standardStylesheets="false" is present in the page definition. Then, make sure you have something similar to this (you need both css and javascript for this sort of bootstrap component to work.
 
<apex:includeScript value="{!URLFOR($Resource.my_resource, 'my_resource/bootstrap/js/bootstrap.js')}" />
<apex:stylesheet value="{!URLFOR($Resource.my_resource, 'my_resource/bootstrap/css/bootstrap.css')}"/>
Please refer the below link for reference.            http://salesforce.stackexchange.com/questions/71840/bootstrap-styles-not-being-applied-to-visualforce-page-as-static-resource​​
​​ (http://salesforce.stackexchange.com/questions/71840/bootstrap-styles-not-being-applied-to-visualforce-page-as-static-resource)

I hope it will be helpful.

Best Regards
Rahul Kumar