Forum Discussion
1 Reply
Sort By
- YuriK12 years agoKhoros Expert
Hey hobbs6487,
You should be able to do this using jQuery. Here is a post about how to use the Lithium loaded jQuery. Alternatively you can load your own jQuery.
You can use the <@liaAddScript> directive in a component as you see used here:
You can upload one or more .js files as assets through the Community Style tab in Studio if you want to keep the size of your javascript logic in the <@liaAddScript> directive small, but you'll need to pass the LITHIUM.jQuery object into all of the functions you define in your .js files (Thanks DougS )
Note: that there may be a lag between the page load and the filling in of the subject, and body.
I'm not sure if you can fill in attachments using this method.
Hope this helps,
Yuri
Related Content
- 5 years ago
- 6 years ago
- 11 years ago