Hi,
I have treeview like this
Parent1
child1
child2
child3
parent2
child21
child22
I want to select One of the child,when i select it childnode text should copy to label(don't want parent text in any case).Don't need post back also
So how to write Javascript code for that and and in which property i should call that.Bcz If i use onclick,while expanding parent node also function is executing.
can any one help on this?
Loading
Suthish NairPosted Dec 13, 2010, 1:11 AM
Then wait for more answers, someone will help you.
Remember to provide all informations in your thread next time.
lakshmi prasannaPosted Dec 13, 2010, 12:15 AM
Suthish NairPosted Dec 10, 2010, 9:20 AM
check the alert section
function OnCheckBoxCheckChanged(evt) {alert(window.event.srcElement.nextSibling.innerText);
alert(window.event.srcElement.nextSibling.innerHTML);
alert(window.event.srcElement.nextSibling.outerText);
var src = window.event != window.undefined ? window.event.srcElement : evt.target;