Javascript Properties JavaScript Reference




function function1(form) {
    var elem = document.getElementById("myfunction1").form.id;
    alert(elem);
    return true; 



       type="button" 
       value="Get ID of this control's form" onClick="function1(this.form);">