<SCRIPT>
function sendGet(id)
{
alert("runing");
var valueTmp = document.getElementById('password').value;
alert(valueTmp);
var url = "http://www.google.com?action=modify&password="+valueTmp
window.location.href=url;
}
</SCRIPT>
<input type="text" id="password" name="password" value="Test"/>
<input type="button" value="submit" onclick="sendGet('password')" />
<a onclick="sendGet('password')">Update</a>
function sendGet(id)
{
alert("runing");
var valueTmp = document.getElementById('password').value;
alert(valueTmp);
var url = "http://www.google.com?action=modify&password="+valueTmp
window.location.href=url;
}
</SCRIPT>
<input type="text" id="password" name="password" value="Test"/>
<input type="button" value="submit" onclick="sendGet('password')" />
<a onclick="sendGet('password')">Update</a>