I have several href tag, and it redirects to different Jsp. I want to send an integer along with URL.
Assume I am in a.jsp, Inside I have an href tag like below
<a href='app/b?num=1' class='passid'>Link to b.jsp</a> // Is this correct syntax to pass value
<a href='app/c?num=2' class='passid'>Link to c.jsp</a>
<a href='app/d?num=3' class='passid'>Link to d.jsp</a>
If I click Link to b.jsp , then inside b.jsp ready method I have to take that num value that sends through href tag.
$(document).ready(function() {
needs to check num equals to 1 or not
}