valuationbreak evenprofitcontributionforecastshiftqueuingbusiness analysis
accountbasbudgetBAS-I.Cshare valueshort salesinvestment
site mapform1
Browse All Question and Answer Items
Items selected where Item is 2058287
Questions & Answers
Q: Can you tell me if I can add fields in a form a display in real time - I guess using a js - inside an xhtml doc. Where does the java script go - in the xml?
A: Yes, using javascript you can simply add remove elements in real time ie add a form field (or remove it, hide it...etc). As javascript runs in the users browser they must have javascript enabled. The best approach is to do this using DOM elements, for some basic info see http://www.w3schools.com/jsref/dom_obj_all.asp . You can see this method in use at http://www.stockpriceanalysis.com/stockpriceanalysis.html input a Stock Code ie Goog and click Add and a new row of form fields is added. To do this for your forms you would need to develop specific javascript it can be included in the head or body or in a separate js file, it depends on what it is doing and how.
Question and Answer Item 2058287 - Browse All Question and Answer Items