Thanks Nikola. Unfortunately, this prototype will be opened on various
people's computers, so I can't anticipate what the directory setup
will be on their machine (both mac and pc), hence my use of a path
relative to my document  ../myDirectory/



On Mar 18, 2:02 pm, Nikola <nik.cod...@gmail.com> wrote:
> I do this all the time...
>
> file:///c:/myDirectory/myFile.htm #myDiv
>
> On Mar 18, 3:32 pm, rolfsf <rol...@gmail.com> wrote:
>
> > I need to make a simple 'freestanding' prototype to be run locally. I
> > used a simple load() to grab a div from another file:
>
> > $('#ajax-panel').load("../myDirectory/myFile.htm #myDiv");
>
> > but the ../ in the url chokes. How can I accomplish that for a
> > prototype that runs locally on my machine without a proper server?
>
> > Thanks

Reply via email to