Hi, I recently started working with jquery 1.1.3.1.
I made extensive use of the "load" function eg:

        $("#content").load($(this).attr("name"));

After updating to 1.2.5 none of the load functions except for one
worked any more.
Searching the internet did not bring the solution and after trying to
find the problem myself I found out that 1.2.5 does not like the
spaces in the filenames of the files I tries to load.
I solved it by changing the code to:

        var filename = $(this).attr("name");
        //replace spaces with %20 because the load function does not
work when the filename contains spaces
        $("#content").load(filename.replace(/ /g,"%20"));

Is this a bug in 1.2.5 or is this by design?

Reply via email to