| Wijmo Team Member | ankazakov posted on July 3, 2012 at 5:18 am Could I possible send to the server the value of the textarea, which is placed in wijdialog. I try to do that, but I can’t. I suspect that the text field is not kept on the server, if it is put in wijdialog. Sorry for my bad English. | |
| Wijmo Team Member | abdiasm posted on July 4, 2012 at 12:29 pm textarea is an html control and cannot be accessed on the server. You could get the text of the textarea and send it to the server via ajax. function btn_click() {
var val = $(‘#txtarea1′).text();
$.ajax({
type: “POST”,
url: “SomeService.asmx”,
contentType: “application/json; charset=utf-8″,
dataType: “json”,
data: “{text:’” + val + “‘}”,
success: function (result) {
}
});
}Regards | Answer |
Tagged: wijdialog
Viewing 2 posts - 1 through 2 (of 2 total)
You must be logged in to reply to this topic.