ASP.NET Razor mixing with javascript literal

My problem is when I try to setup the onclick handler, updatePage(), is there a way to inject a Razor variables value as a parameter to the updatePage() function like I'm trying to do below? What I have below of course is a compile error caused by the updatePage portion.