I want to use the javascript dom to reference the field of a record in a
multi-record html form when that field has been changed. How do I reference
the field? I have a JavaScript function coded as:
var zownerID = document.updOwn ers.ownerID.val ue
var zownerName = document.updOwn ers.ownerName.v alue
document.updOwn ers.mysql_updat e.value = zownerID
document.updOwn ers.newName.val ue = zownerName
I have tried calling it from onclick for the submit button and onsubmit for
the form with no success. Very new to javascript and would appreciate any
help. Thanks
multi-record html form when that field has been changed. How do I reference
the field? I have a JavaScript function coded as:
var zownerID = document.updOwn ers.ownerID.val ue
var zownerName = document.updOwn ers.ownerName.v alue
document.updOwn ers.mysql_updat e.value = zownerID
document.updOwn ers.newName.val ue = zownerName
I have tried calling it from onclick for the submit button and onsubmit for
the form with no success. Very new to javascript and would appreciate any
help. Thanks
Comment