<button style='background-color:red;' onclick="$('#login').load('content/playasguest.html');">Play as guest</button>
Hi guys I have this website code. I want to on click on button load entire content of file and unload the content what is there. Function load is perfect on it but it dont t do anything. I can use .html but I have that code in different folder.
My folders :
client/
content/
login.html
playasguest.html
register.html
index.html
So path to file is good Can anyone tell me whats the problem ?