• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
I need some help with this Ajax Dom stuff
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: I need some help with this Ajax Dom stuff
      • From: Mike Schrag <email@hidden>
  • Prev by Date: Re: WOWODC - a few pics
  • Next by Date: Re: WOWODC - a few pics
  • Previous by thread: Re: Ajax problem with Wonder and Eclipse
  • Next by thread: Re: I need some help with this Ajax Dom stuff
  • Index(es):
    • Date
    • Thread