I think that by default in IIS, .html filetypes will not accept POSTs. load() in jQuery is GET by default but if you put something in the data parameter, it will a be converted to a POST. Do you think that's what's happening? Unless your .html file has be configured to do server-side processing, I don't think it's necessary to POST data to a .html file.
On Oct 15, 10:55 am, Scogle <scotto...@gmail.com> wrote: > Thanks, I'll look into that. I had a feeling that it was a setup > issue, but I wasn't really sure yet. I'm just trying to load() an > html file, which is why this issue seems so strange. > > On Oct 12, 7:45 pm, James <james.gp....@gmail.com> wrote: > > > Sorry, I meant VERB, not VERY: > > > GET (and maybe POST) VERB > > > On Oct 12, 3:42 pm, James <james.gp....@gmail.com> wrote: > > > > It sounds like a server setup issue. What is the file type/extension > > > of the file that you're trying to load()? You have to set up the > > > server so that the GET (and maybe POST) VERY is allowed for that file > > > type. > > > > On Oct 12, 12:53 pm, Scogle <scotto...@gmail.com> wrote: > > > > > I'm working on a project that uses the load() function to grab data > > > > from external files, but I keep getting a "405 Method Not Allowed" > > > > error and the data won't load. I'm wondering if this is a problem > > > > with the server or if it's a sloppy mistake on my part. Any help > > > > would be greatly appreciated. > > > > > Thanks, > > > > Scott > >