# How to add partials through javascript

**URL:** <https://www.ruby-forum.com/t/how-to-add-partials-through-javascript/179985>\
**Category:** Rails\
**Created:** [December 9, 2009, 8:15am UTC](https://www.ruby-forum.com/t/how-to-add-partials-through-javascript/179985 "2009-12-09T08:15:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![antony\_4u](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/b5a626/32.png) [@antony\_4u](https://www.ruby-forum.com/u/antony_4u)\
**Post date:** [December 9, 2009, 8:15am UTC](https://www.ruby-forum.com/t/how-to-add-partials-through-javascript/179985/1 "2009-12-09T08:15:27Z")

</div>

Is it possible to add partials through java-script.

Want to add the partial dynamically while clicking + button.

It want to add as a child to a div.

any Idea ?

Cheers,  
Antony
