Pop-up New Window from Java Script
window.open('Form2.aspx?id=1,value=raja','page1','height=350,width=470,location=no,menubar=no,
resizable=no,scrollbars=yes,toolbar=no');
Form2.aspx - Name of the aspx page to redirectValues can be passed to next page thro query stringCustom size for Height and WidthBased on the need give the menubar, resizable, scrollbars, toolbar display
Changing the Color of the Button in a page
function BtnColorChange()
{
var f = document.getElementById("form1");
var inputs = f.getElementsByTagName("input");
for(var i = 0; i < inputs.length; i++)
{
if(inputs[i].type == "submit")
inputs[i].style.color = '#C9C5C5';
}
}