SharePoint get or set form fields from query string.

A SharePoint field can be set/get by using Jquery. Following script shows how to set and read the value of Title field.

<script type="text/javascript" src="/Shared%20Documents/JS/jquery.min.js"></script>
<script language="javascript">
$(function(){
var tilteField = $("input[title=Title]");
tilteField.val("Hello"); 
alert(tilteField.val());
});
</script>
However, lists may also contain DateTime fields, Lookup fields, User fields etc as well. Setting the values of these fields requires data to be in a particular format.I found these extremely power full Jquery libraries which make setting the fields very easy.
SPFF allows you to set form fields based on the values in the query string e.g.
/Lists/Tasks/NewForm.aspx?Title=this is a test of text field


Another one is SPJS-Utility. You can read about it over here .