using the jQuery adapter for CKEditor , its pretty easy to insert content into the textarea using the enhanced jQ val method .. for instance
$("textarea[name='content']").val("text/html content here");
our plan is to add a button to the Ask Question page .. the button will pull in some context sensitive string stuff via Ajax and insert it in the textarea of editor. .. so it becomes part of the Q/A thread
my question is ( being new to platform :-) ..what's the best way to add jquery ajax and button code to the question ask page?
should I work in our custom qa-theme.php? .. or in one of the files in the include area? .. like someplace related to Stage 3 of the ask-a-question page controller
many thanks..