I want to use some simple JQuery to populate the Title field of a document with the contents of the Name field. I am able to populate the Title field with basic text using:
<script type="text/javascript">
$(function() {
$('input[title=Title]').attr({value: 'Test'});
});</script>That works fine - but how can I change it to pass the contents of the Name field into the Title field? This code runs on the EditForm.aspx for the document library. Thanks!