elementID: "gvtest",
Your js is attaching to an element with an id of "gvtest". View the source of your page in the browser, do you see any element with an id of "gvtest"? When you use master pages the ids used in the html elements won't always match the ids you use in your server-side mark-up. To get the id the control is actual using you need to use ClientID
elementID: "<%=gvtest.ClientID%>",