How can i create a id as a newguid for a button and use it in my jquery script? Something like:
@{ var id = Guid.NewGuid().ToString(); } //
<input type=button id="@id" name="Go" /> @*how can i use this newguid as an id for my button?*@
<script>
@*how can i use this id to attach an eventhandler to for my button?*@
$("@id ).click(function(){
});
</script>