dcsimg
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com

Search:

Type: Posts; User: the_cat

Search: Search took 0.01 seconds.

  1. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    You're welcome - glad it worked!
  2. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    I can't help with the first part of your query I'm afraid. If you Google the problem there is mention of starting Chrome from the command line with security disabled:...
  3. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    Try it - it should work! Assuming that the webserver supports the Access-Control-Allow-Origin header which it probably does (or can be made to).
  4. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    Run it from a web server. It appears to be a Chrome bug to do with CORS (cross origin sharing) : http://code.google.com/p/chromium/issues/detail?id=67743
    If you're running it from localhost then the...
  5. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    You shouldn't have the hash in front of "header.html".
    The other thing to note (see the documentation: http://api.jquery.com/load/ ) is the same origin policy: "Due to browser security...
  6. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    I have tested it with the latest version of Chrome on Windows 7 and it seems to be working fine. Maybe the problem lies elsewhere?
    Here's the full listing of my test file and it duly pops up an...
  7. Replies
    16
    Views
    19,705

    Re: Chrome - jquery headache

    You mention jQuery in the title - why not put your code inside the jQuery document ready function?


    $(function(){
    // your code goes here
    });
Results 1 to 7 of 7


Windows Mobile Development Center


Click Here to Expand Forum to Full Width




On-Demand Webinars (sponsored)