The return event from the jQuery in IE works and returns text (event.target.innerText) that was typed in by the user. I need this to work in all browsers...of courseCan someone show me how to get this to work in all browsers, so I know what the user typed in and can save it. I'm using ASP.Net and trying to save the information server side is the reason I put the returned text into a hiddenBasicInformationComments textbox (which is set to run at server). If anyone sees a better way to do what I want, please don't hesitate to let me know.
Code:$("#divbasicInformationComments").dialog({ autoOpen: false, show: "blind", width: 500, height: 480, draggable: false, position: 'center', modal: true, close: function (event, ui) { $(".hiddenBasicInformationComments").val(event.target.innerText); //event.target.innerText returns null for Firefox }, open: function (type, data) { $(this).parent().appendTo("form:first"); } });


Can someone show me how to get this to work in all browsers, so I know what the user typed in and can save it. I'm using ASP.Net and trying to save the information server side is the reason I put the returned text into a hiddenBasicInformationComments textbox (which is set to run at server). If anyone sees a better way to do what I want, please don't hesitate to let me know.
Reply With Quote
Bookmarks