Announcement:
wanna exchange links? contact me at sapchatroom@gmail.com.
Posted by
Admin at
Question from Marcospadaro on Jun 26 at 7:41 PM Hey folks, I'm trying to deal with a JavaScript value in bsp. I'm retrieving a value from a JavaScript with this function: <script language="javascript"> function pass() { txt1 = document.getElementById("messageHTML"); txt1.value = messageHTML ; } </script> <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()); var messageHTML = message.html(); pass(); }); });// .ready() END </script> and in my bsp I have form with a hidden field who is supposed to content the script value <input type="hidden" name="messageHTML" id="messageHTML" value="<%= messageHTML %>" /> in the event handler I'm trying this: navigation->set_parameter( name = 'messageHTML' ). v_content = navigation->get_parameter( name = 'messageHTML' ). I have to issue, the first an CX_SY_DYN_CALL_ILLEGAL_TYPE and the second is that v_content is empty. What do I miss? P.s: data v_content type string. | Reply to this email to post your response. __.____._ | In the Spotlight Become a blogger at Toolbox.com and share your expertise with the community. Start today. _.____.__ |