Home
Developers

Developers

  • Documentation
    • Developer Guide
    • API Reference
    • Style Guide
    • How-To
    • Troubleshooting
  • Submit a Flake
  • Support

Pageflakes How-To and Troubleshooting Guide

  • Manage Flake Instances
  • Server-Side Scripting
  • Auto-Save Settings
  • Storing an Array into a Profile
  • Using CSS
  • Access Web Services from Flakes
  • Flake Development Tools
  • Troubleshooting
    • Using the "id" element correctly
    • Using XMLHttpRequest
    • Issues with Internet Explorer, Firefox and Opera
    • Use CDATA inside script blocks
    • Avoid memory leaks and understand 'this'
    • Minimize processing in load()
    • Do not use alert()
    • Do not use <form> elements
Home » Documentation » Troubleshooting

Issues with Internet Explorer, Firefox and Opera

  1. Always use document.getElementById to get HTML elements. Internet Explorer supports accessing elements using the element ID directly, but Firefox and Opera do not. You can also use the shortcut function 'PF.$' instead of document.getElementById.
  2. There's no innerText in Firefox. So, use PF.T(element, text) to set text content inside HTML elements.
  3. CSS renders differently in Firefox, Opera and Internet Explorer, so make sure you test your flakes in all these browsers.
‹ Using XMLHttpRequestupUse CDATA inside script blocks ›
»
  • Printer-friendly version