Results 1 to 1 of 1

Thread: Include external content via ajax + hidden object

  1. #1
    Join Date
    Sep 2007
    Location
    The Netherlands
    Posts
    1,881
    Thanks
    49
    Thanked 266 Times in 258 Posts
    Blog Entries
    56

    Default Include external content via ajax + hidden object

    1) TITLE: Include external content via ajax + hidden object

    2) AUTHOR NAME/NOTES: Arie Molendijk

    3) DESCRIPTION: External content that is fetched with Ajax doesn't display foreign characters (é, ñ etc.) well. At least, this is true if the transformations are performed on the client (Google the Internet to see what I mean; see this, for instance).

    This problem does not occur if external content is extracted with the help of a hidden object (or iframe) and innerHTML (see this). But that method has its own limitations: it does not allow us to automatically access the js and the css belonging to the external files.

    So I combined the two methods

    4) URL TO CODE: http://molendijk.110mb.com/include_via_ajax_and_object/includer.html
    Last edited by molendijk; 06-10-2008 at 03:42 PM.

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •