Here's my button:
<p>File Uploaded:</p><fieldset><div id='fileloc'>"PROGRAMMATICALLY INSERTED LINK TO FILE" <button type='button' onclick='fileDelete()'>Delete</button></div></fieldset>
And here's my script to try to replace the values in the div with an upload button.
    <script type="text/javascript">
        var fileDelete = function() {
            var delDiv = document.getElementById("fileloc")
            delDiv.value('<p>Upload Support Document</p><fieldset><input type="file" name="file" id="file" /></fieldset>');
        }
    </script>
However I get the error:
delDiv.value is not a function.
Would I run document.delDiv? How would I go about doing this correctly?
 
     
     
     
     
     
     
     
     
    