Including Javascript files in a QForm
Since the new Qcubed version that uses jQuery i can't figure out how to get uploadify working again without some nasty hacks.
I used to have jquery and the uploadify javascript files in my header.
Then, in myForm.tpl.php i had the javascript that activates uploadify, like jQuery(someEle).uploadify(options).
Now, since Qcubed loads the javascript files like jquery at the end of the form, there are conflicts with the jquery being included in the header and the uploader stops working.
What i am wondering now is what's the best way to add custom javascript files at the end of the form? i would like to add the uploadify.js there and then also add my custom javascript code that enables uploadify with QApplication::ExecuteJavascript($strCode).
I hope it's clear what i mean and i would be very grateful about any hints!
thanks

Hello kon,
Hint1: One way is to put this into the Form_Create function:
<?phpQApplication::$JavaScriptArray[] = "alert('test');";
?>
This should render the JS at the end of the page.
Hint2: The javascript you see at the end of the page is added by QActions for QControl events.
However, I would recommend creating a plugin as you would have a bit more control over the javascripts, CSS etc. The user community would appreciate it. I am sure. This upload feature is pretty cool.
Cheers
Helge