javascript - .load() method to load .html file from parent directory -


i have following structure:

  • folder1
    • index
  • folder2
    • page load

is possible load page load in div in index page, using div.load()? i've tried possible path , doesn't work. (../folder2/page, ./, /, ..)

it's different question: dynamically load web components / html imports?

i think, directory index folder1 then, not accessible, if using virtualhost or that, may can move directory 'folder2' in 'folder1', not expert seems that.

hope help!!


Comments

Popular posts from this blog

jOOQ update returning clause with Oracle -

c# - Json.Net Serialize String from URI -

java - Warning equals/hashCode on @Data annotation lombok with inheritance -