We are writing JQueryMobile application using ASP.NET MVC3 + JqueryMobile RC1.
Few pages have their own Ajax methods which we call using jQuery code ($.getJSON()
It sounds like you might need to wrap your code in an IsPostBack
check. For example:
void Page_Init(object sender, EventArgs e)
{
if (!IsPostBack)
{
RegisterScriptHere();
}
}
EDIT
On a second reading, you may not be asking about the server side, if you are trying to do this on the client side, ignore my answer.