newcomer - Friday, June 21, 2013 5:45 AM:
Hi all,
does anyone has successfully included a js lib like dojo or jquery into an aras form?
I would like to use jquery in an html element (Field type html) but I'm not able import the js and css files...
I tried to put the javascript imports directly into the html field:
<script src="localhost/.../script>
<link rel="stylesheet" media="screen" href="localhost/.../jquery.contextMenu.css">
<link rel="stylesheet" media="screen" href="localhost/.../jquery.handsontable.css">
<script src="localhost/.../script>
<script src="localhost/.../script><script src="localhost/.../script>
<div id="example1"></div>
<script type="text/javascript">
var $container = $("#example1");
</script>
I also tried to use relative paths (../Solutions/..) but this failed too.
I also tried to append the script tags and link tags on the head tag by an onLoad and onFormPopulate Event... but that also failed.
So has some succeeded in importing/injecting js libs into an aras form and can give me an example?
Regards
newcomer