Regardless of the JS, this is a web standards group.
This example has no labels on your form inputs.
The previous example was using tables for layout.
Don't concentrate on a single issue and forget semantic, standards-based
markup from the very beginning.
Ted
Try with the following code:
script
function proc()
{
var num = document.heartSearch.hsQty.value*8.95;
document.hSearchoutput.hsTotal.value = r2(num);
addMe();
}
function prc2()
{
var num = document.youKnow.cutSandHours.value*12.17;
document.outme.soter.value = r2(num);
addMe();
}
if you have javascript related questions/talk, you can try
comp.lang.javascript. Here:
http://groups.google.com/group/comp.lang.javascript/topics?pli=1
On Fri, Nov 14, 2008 at 8:12 AM, Brett Patterson
[EMAIL PROTECTED] wrote:
I hate to ask another question about JavaScript, but I need help
I hate to ask another question about JavaScript, but I need help with ONE
more thing, please?
*Using the following JS code in XHTML Transitional:*
function proc()
{
var num = document.heartSearch.hsQty.value*8.95;
document.hSearchoutput.hsTotal.value = r2(num);
}
function prc2()
{
var num
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
try
http://www.google.com/search?q=javascript+helpsourceid=navclient-ffie=UTF-8rlz=1B3GGGL_enAU252AU254
the list is Web Standards not a help desk.
Brett Patterson wrote:
I hate to ask another question about JavaScript, but I
Hi Brett,
you can use the document.forms[form number in sequence] to access the
elements in a form
*document.forms[0].elements[0].value
*For further reference
http://javascript.internet.com/forms/format-input.html*
*Warm Regards
Sajan Franco
On Fri, Nov 14, 2008 at 9:02 AM, Luke Hoggett