Home.html
I have a left menu in which when visitor menu is clicked, it will load visitor.html in the div named 'rightcont'.
$(".rightcont").load("visitor.html");
Also when the students menu is clicked, it will load students.html on the div rightcont
$(".rightcont").load("students.html");
But by default i loaded welcome.html in the rightcont when the page is first visited.
My problem is when the user click a link named STUDENTS in some other part of the website, it redirects to home.html in which the 'rightcont' div displays welcome.html. I need rightcont to display students.html.
How to change it dynamically based on the link clicked