[jQuery] Re: proper syntax for a local path ../myDirectory/myFile.htm

2009-03-18 Thread rolfsf
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 wrote: > I do this al

[jQuery] Re: proper syntax for a local path ../myDirectory/myFile.htm

2009-03-18 Thread Nikola
I do this all the time... file:///c:/myDirectory/myFile.htm #myDiv On Mar 18, 3:32 pm, rolfsf 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"); > >