The closest I got to using in webpage was as follows:
<script>
$('#title').text(movie.title);
</script>
It works with lets say:
<h1 id="title"></h1>
However I would like it to be used in the value in asp hidden field eg
<asp:HiddenField ID="name" runat="server" Value="title" />
I am new to asp and javascript and jquery so any advice greatly appreciated.