Link to home
Start Free TrialLog in
Avatar of Aleks
AleksFlag for United States of America

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("Customtxt").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)
Avatar of lenamtl
lenamtl
Flag of Canada image

Hi, you can try to ask your question on github website
https://github.com/summernote/summernote/issues
Avatar of Aleks

ASKER

I did thank you. So far no luck .. more issues came up.
ASKER CERTIFIED SOLUTION
Avatar of lenamtl
lenamtl
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Aleks

ASKER

I finally got a reply from the forum, thanks.