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
GeigerJHGeigerJH 

Javascript not working on iPad

I have a simple bit of Javascript written in a homepage sidebar component that is hiding the 6 icons you see on an Event record that take you to the calendar. It works perfectly on the browser, but on an iPad it does not work.

My iPad is an iPad Air with IOS 7.1.2 running. I have ensured that javascript is turned on in the settings and have tried troubleshooting this as best I can wiith no luck.


Below is the Javascript in the homepage component:

<br><script type="text/javascript" src="https://na15.salesforce.com/resource/1403024447000/jQuery1_11_1"></script><script type="text/javascript"> $(document).ready( function() { var test = window.top.location.pathname.substring(1,4);var test1= window.top.location.pathname.substring(1,6); if(test == '00U') {    $("div ").removeClass("calendarHeaderBG calendarHeader");}  } ); </script>
bob_buzzardbob_buzzard
How are you accessing the Salesforce app through the iPad - are you opening the main site UI, or using Salesforce1, or something else?