Home > Enterprise >  my html file path does not seem to want to work and from what I am aware everything is being done as
my html file path does not seem to want to work and from what I am aware everything is being done as

Time:11-01

onclick does not open the folder

When I use onclick on a button to send me to a new site inside of a folder it does not work and returns

Cannot GET /teamedit_teams.html

I know its to-do with the folder as I tested it without and I am quite stumped if anyone knows what's going on and could help that would be much appreciated also I am aware that it is possible that I am just being dumb and don't know what's going on lol

CodePudding user response:

First You better create a document on path.

Your links are not the same. Location refers to team/edit_teams.html, but after you try Cannot GET /teamedit_teams.html.

If there is typo and links written correct, so check any js scripts, may be you have any listener binded to element id.

But why not use <a href="team/edit_teams.html">Edit</a>

CodePudding user response:

I found out what the issue was it was I forgot to use a / in front of team and for the reason I never used an anchor tag welllll you see I never thought of that but thank you all for the help

  • Related