View Single Post
Old 03-10-2012, 04:47 PM   PM User | #13
Philip M
Supreme Master coder!

 
Philip M's Avatar
 
Join Date: Jun 2002
Location: London, England
Posts: 17,044
Thanks: 197
Thanked 2,412 Times in 2,390 Posts
Philip M has a spectacular aura aboutPhilip M has a spectacular aura aboutPhilip M has a spectacular aura about
Quote:
Originally Posted by jdpaul View Post
In the HTML that was provided for me, the name and id are there, *scratching head in puzzlement*
Code:
<input name="price1" id="price1" size="8" value="19.95"
                 tabindex="-1" readonly="readonly" />
Well, as I say, there is little point in assigning an id to a form field (although it does not hurt so long as you have assigned a name as well).

If you are saying that the HTML is not your work but was provided for you (as was the css), then what part of this is your work?

document.orders will not work because the browser is looking for a form with the name orders.

People here are very willing to help you correct/improve the scripts you have written, but are less keen to do the whole thing for you.
__________________

All the code given in this post has been tested and is intended to address the question asked.
Unless stated otherwise it is not just a demonstration.

Last edited by Philip M; 03-10-2012 at 04:50 PM..
Philip M is offline   Reply With Quote