interface and it's hash (sortsrialize)

interface and it's hash (sortsrialize)

I am using the following interface demo page:
http://interface.eyecon.ro/demos/sort.html where I want to put the hash in a input field. I need the hash from the sort 3 (3rd column).

Okay this is a part of the code with a form added:

==some more functions and code here==

function serialize(s)
{
   serial = $.SortSerialize(s);
   alert(serial.hash);
};
</SCRIPT>

<form action="" method="post">
  <input name="serial" id="serial" value="" />
  <p class="submit alignleft"><input type="submit" onclick="serialize(); " value="Update" /></p>
</form>


What happens?
When I click the submit button a string ($.SortSerialize(s)) will be shown in an alertbox (on click).

What do I want?
I want this string to appear in my textbox/inputfield and not in the alertbox.

I know that the alert(serial.hash); has to be removed from the code, but still no luck then

Hope someone can help me with this...

_Null