I want to open http://10.41.30.88/mmisweb/plpodtl.asp?pl=30010111 in another tab, where user has to input the last eight digits. (Which is 30010111 in this case for example).
For input I have to use HTML page and JavaScript. I used the following -
<!DOCTYPE html>
<html>
<body>
<a href="http://10.41.30.88/mmisweb/plpodtl.asp?pl=" id="baseUrl">Link Text</a>
<input type="text" id="appendUrl" onclick="ass();return false; "/>
<script>
function ass() {
window.location = $(this).attr('href') + $('#appendUrl').val();
return false;
}
</script>
</body>
</html>
But it returns only http://10.41.30.88/mmisweb/plpodtl.asp?pl= in the window and not the digits.