I need some help with this Ajax Dom stuff
I need some help with this Ajax Dom stuff
- Subject: I need some help with this Ajax Dom stuff
- From: Gustavo Adolfo Pizano <email@hidden>
- Date: Tue, 9 Jun 2009 16:48:44 +0200
Well I thought I knew how to do it, but, eventually I don't.
I have the following in the html: <div id="allUnits"> <div id ="pUnitsPart"> <span class = "labelDiv">Unit Name :</span><span class="infoUnits"><wo:WOTextField value = "$unitName" /></span> <span class = "labelDiv">Price :</span><span class="infoUnits"><wo:WOTextField value = "$uPrice" /></span> <span class = "labelDiv">Received Date: </span><span class="infoUnits"><wo:WOTextField value = "$uNumberUnits"/></span> <span class ="moreButton" id="button" onclick = "addUnit()">+</span> </div><!-- pUnitsParts --> </div>
now I want to add another div pUnitsPart, in case there is one or more info of the same kind, I was thinking int using DOM, to create more span elements and use appenChild method of the element allUnits. but I don't know how to handle with those WOTextFields I have, they have a binding with their pair in the.java, so I got lost here because I dunno how to create them and make the binding...... :'( sniff sniff....
Im not expert in this stuff, but novice, so any help I can get will be really appreciate it.
Thx
Gustavo
|
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden