Aleks
asked on
Bootstrap editor - Summernote
I am looking for a way to copy the value of what is in the 'summernote' to a hidden field as the user types in it. So that it is copied to a hidden field that I can use to update my database.
This is the value of the summernote:
<div class="summernote">
<%=(rs_contact.Fields.Item ("Customtx t").Value) %>
</div>
This is my hidden field:
<input type="hidden" name="MM_recordId" value="NEED A SCRIPT TO COPY THE VALUE OF SUMMERNOTE HERE">
I tried posting in the summernote forum with no luck so far. This is summernote's website:
http://summernote.org/#/
I also found this to do something similar but uses php, I am using ASP classic:
http://stackoverflow.com/questions/22136242/textarea-value-change-when-summernote-div-is-changed/22137372
Hope that helps figure out how to copy what the user is typing into the hidden box as they type it or add any code to the summernote for that matter. So that when submitted the value of summernote is the same as the hidden field and it is then stored in my DB. (MS SQL 2008)
This is the value of the summernote:
<div class="summernote">
<%=(rs_contact.Fields.Item
</div>
This is my hidden field:
<input type="hidden" name="MM_recordId" value="NEED A SCRIPT TO COPY THE VALUE OF SUMMERNOTE HERE">
I tried posting in the summernote forum with no luck so far. This is summernote's website:
http://summernote.org/#/
I also found this to do something similar but uses php, I am using ASP classic:
http://stackoverflow.com/questions/22136242/textarea-value-change-when-summernote-div-is-changed/22137372
Hope that helps figure out how to copy what the user is typing into the hidden box as they type it or add any code to the summernote for that matter. So that when submitted the value of summernote is the same as the hidden field and it is then stored in my DB. (MS SQL 2008)
ASKER
I did thank you. So far no luck .. more issues came up.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I finally got a reply from the forum, thanks.
https://github.com/summernote/summernote/issues