test
The dosomething function evoked when to click the button,how can pa
You can get value by using id for that element in onclick function
function dosomething(){ var buttonValue = document.getElementById('buttonId').value; }