Advice please. Have been googling this for a week or so without success.
I’ve created html forms which successfully employ javascript scripts to automatically verify content and, for certain number fields, automatically add up various taxes.
I would now like to build these characteristics into a forms page which allows users to add and/or takeaway various fields. The code I have put together to do this is a more sophisticated version of this:
<div id="all"></div> <div id="container"> <input type="button" id="btn1" value="1" onClick="btn1()" /> <input type="button" id="btn2" value="2" onClick="btn2()" /> <input type="button" id="btn3" value="Remove" onClick="btn3()" /> </div></blockquote>
… but I do not know how to go about adding in the Javascript capabilities to the above code which I have already implemented in my one-off, standalone forms.
I suspect I’m going to have to get into the depths of AJAX, DOMS and Nodes, in which case, I think it’s probably beyond me.
Any advice would be appreciated.