OK, so I'm stuck again. I'm trying to write the content of the div.zusammenfassung to a textarea field named "ic_zusammenfassung" and then submit the whole form to a php script.
This is what I came up with:
- var zusammenfassung1 = $('.zusammenfassung').html();
- $('input[name=ic_zusammenfassung]').val('zusammenfassung1');
And this is the textarea in the form:
- <textarea name="ic_zusammenfassung" class="zusammenfassung"></textarea>
But it doesnt work. The Mails I receive only contain all the regular form-fields but for "ic_zusammenfassung" only a bunch of <br>.
If anybody has an Idea, I would be thankful.