HELP pls! eventObj.Source.xml

C

CONFUSED

i have a repeating section that has many fields... i want to show the inner xml of that repeating section .. but when i use the eventObj.Source.xml on one of the events within that section..it only shows one field.. not all of the fields in that section. what i want is to show all of the nodes within that particular section. how can i do it? i am not using sp 1 please supply me with javascript.

e.g.

<child>
<name>nina</name>
<address>home1</address>
</child>

// call an onbeforechange event from the "name" node.. XDocument.UI.Alert(eventObj.Source.xml); --> it only shows the name node .. what i want is the whole child element.

-- > this can be done using the onclick event from the command button.. how can i apply this to a particular node?






thank you so much!
 
C

CONFUSED

Dear Sir,

you are such a nice person. thank you so much for your help! :)

i have used this to show all of the child nodes within a selected repeating section:

XDocument.UI.Alert(eventObj.Site.parentNode.xml);
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top