> Well, actually we got that figured out but have the million dollar
> question for us...

> We have 4 items, first is a select box, when an item is selected it
> fills the other three text input boxes via Javascript.

> Now, once all four are filled out, wow would it be great for a new empty
> row to display....with select box, et al, an exact duplicate.  Not sure
> how to do this?

Won't work in Opera, but you can try this: ...

<cfsavecontent variable="anotherrow">
        <div>... all your input elements here ... </div>
</cfsavecontent>

<div ID="mydiv">
        <cfoutput>#anotherrow#</cfoutput>
</div>

then in your js function

document.mydiv.innerHTML += "#jsstringformat(anotherrow)#";
x = document.myform.length;
document.myform[x-1].name = "field4_" + document.myform.length/5;
document.myform[x-2].name = "field3_" + document.myform.length/5;

and so on...

hth

Isaac Dealey
Certified Advanced ColdFusion Developer

www.turnkey.to
954-776-0046
______________________________________________________________________
Signup for the Fusion Authority news alert and keep up with the latest news in 
ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to