Could any one help me,to find out my problem.I have set my website as chrome extension.When I install the extension,it navigates to a popup window asking user name and password
You have to pick up value of the input field:
var uname = document.getElementById('name').value;