Scenario: While adding item to the list, a new subsite will be created with list item title and description by using javascript.
Currently I'm working on NewForm.aspx page. I have added button(not in ribbon .. took spForm action button on form) to this page. When user click on this button, item will added to list and at the same time I need to create subsite with list item title and description.
We are using SP 2010
How can we write js for doint this? Please help to solve this.