Start Building Professional
Web Apps Today


 
Categories Question details Back To List
Question  posted by pyt on Nov 26, 2008 09:09
open dhtmlx forum
dhtmlxWindow

Hi,
i use dhtmlxgrid v.1.6. I have a contextmenu with menuItem "addNotes". So user can insert his commentar hier. I use following codes:

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1">
<title>contextmenu</title>
</head>
<div id = "A">Add Your Notes:
<textarea rows="2" cols="20">
</textarea>
</div>
</html>


and my javascript codes:

function onButtonClick(menuitemId,gridItemId){
..
if(menuitemId == "AddNotes"){
    var w2 = dhxWins.createWindow("w2",0,0,200,200);
    w2.setText("addNotes");
    w2.attachURL("/ajax/xml_feed.jsp?action=get_addNotes"); //The html codes are dynamic produced
    w2.center();
}
..
}

My Question is, how can i access user commentar in textarea and should i use dhtmlxDataprocessor or dhtmlxAjax for send the data to server.

Thanks in advance!
pyt

Answer posted by Support on Nov 26, 2008 09:39
Hello,

here is:

http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=6155
http://dhtmlx.com/docs/products/kb/index.php?s=normal&q=6191

>> should i use dhtmlxDataprocessor or dhtmlxAjax for send the data to server
it depends on type of data submitting