Any way to do the following scenario

Any way to do the following scenario

1)
I need to update a part of the content.
I am sending an ajax request get the part of the content and replace it inside a div.
Before setting the html need to enhance that page.
Is it possible ?


2)
I have a link in a page which calls a java script method ,inside that method I am doing some calculations based on cookie and construct the request parameters. I need to load a url with this parameter .Any options available to do this

I tried with 
$.mobile.changePage({ url: "searchresults.php", type: "get", data: ("form#search").serialize()//here passing params });
It loads the page with some java script error there after no link is working.
to.attr is not a function js version 1.0a3 line 2040.


3)Any one suggest me a link for documentation or tutorial other than default and link for downloadable version of default doc & demo.

Any idea
Thanks