Hi,
How can I add a TextBox as a MenuItem in a menu?
I want to do something like:
//"Create Script" Menu
var csparams = {id:"createScriptDialog"}
var createScriptMenu = new dijit.Menu(csparams,document.createElement("div"));
var params1 = {id:"csMenuItemText"};
var csTextMenuItem = new dijit.MenuItem(params1,document.createElement("div"));
createScriptMenu.addChild(csTextMenuItem);
//"Create Script" TextBox
var tbparams = {id:"createScriptInput"};
var textField = new dijit.form.TextBox(tbparams,document.createElement("div"));but have no idea how to connect my TextBox "textField" to my csTextMenuItem MenuItem..any clues?
help! :)
many thanks
Rohit

aha! /* GeSHi (C) 2004 -
aha!
hoisted by my own petard..or the opposite rather!
anyway hope this helps anyone with the same issue..