To insert Javascript/jQuery code into your posts, do the following:
1. Change to the Text input mode (and stay there!)
2. Paste your code
3. Wrap your code in these tags: [code lang="javascript"] and [/code]
Example:
var j = jQuery.noConflict(); j('a').css('border','1px solid red');