how to get value from url parameter using javascript or jquery -
i have issue in getting value url, have link shows modal have <a href='#modal?userid=<%=resultset.getint("drid")%>' class="button-border togglemodal">apportionment</a> above link opens modal given below <div id="modal" class="modal"> <header> <h2>appointment form</h2> </header> <form action="addappoinment.jsp" method="post"> <input type="hidden" id="docid" name="docid" value=""><br> <input type="text" required><br> <input type="text" required><br> <input type="text" required><br> <input type="text" required><br> <textarea rows="4" cols="21"></textarea><br> <button class="button-border butto...