[jQuery] What's the proper way?

[jQuery] What's the proper way?

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
</head>
<body bgcolor="#ffffff" text="#000000">
<font size="-1"><font face="Courier New, Courier, monospace">Hi folks,
So far in my little jQuery existence, I've not really needed any
plug-ins. I grabbed a version of jQuery (roughly 6K lines long) and
never looked back. I did go grab Sam Collett's sortOptions code...
which is guess is a plug-in. I just pasted it right after the last line
of the main jQuery code and it worked straight away.
Well, now I need to encode json code an object from the client's side,
and it turns out that $.toJSON() isn't in the core. Fine. I found
json.js by Mark Gibson, and tried the same thing I did with the
sortOptions code.
But it didn't work.
I'm sure I'm missing something. Can someone tell me the "proper" way to
add plug-ins to jQuery?
Thanks,
Chris
</font></font>
</body>
</html>
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/