On textbox onchange property i have called one javascript function In that I have written this,
function testbox1() { var strline1side1 = document.frmartwork.side1textbox1.value; document.cookie="lineside1="+strline1side1.replace(" "," ")+";path=/;"; } I want to assign this "lineside1" cookie value when page is reload
window.onload=function() { document.frmartwork.side1textbox1.value = "here i want that cookie " } How can i do this?