This website is not affiliated with, sponsored by, or approved by SAP AG.

bsp javascript abap

Development (ABAP Development WorkBench, ABAP/4 programming)

Moderators: Snowy, thx4allthefish, YuriT, Gothmog

bsp javascript abap

Postby daddy71 » Sat Jun 28, 2014 6:06 pm

Hy folks, i'm using an external text editor in the form of my bsp and i'm using a javascript to retrieve the generated html when the user type a text and format it, how can i get that value in an abap variable?
this the javascript
<script>
$( document ).ready(function() {
CKEDITOR.replace('news_editor');
$('#inviaDati').on('click',function(){
var message = $('.cke_wysiwyg_frame').contents().find('body');
<%-- Appendere metadati --%>
message.append('<meta aggiuntdesso="" name=viewport content=width=400, initial-scale=0.45, minimum-scale=0.45/>');
<%-- alert(message.html()); --%>
pass();
messageHTML = message.html();
});
});// .ready() END
</script>
how can i move the messageHtml to my abap variable ( type string)?
Thanx.
daddy71
 
Posts: 1
Joined: Sat Jun 28, 2014 5:56 pm

Return to ABAP

Who is online

Users browsing this forum: No registered users and 12 guests





loading...


This website is not affiliated with, sponsored by, or approved by SAP AG.