[Date Prev][Date Next][Thread Prev][Thread Next][Minivend by date
][Minivend by thread
]
help on understanding the demo code
****** message to minivend-users from <george@dakotacom.net> ******
Hi there,
I try to understand this piece of code in the ord/basket.html file with
very little luck.
<INPUT TYPE="CHECKBOX" NAME="mv_order_item"
onClick="document.forms[0].action='[process-target]',
document.forms[0].submit()"
VALUE="[loop-code]">
The portion I have difficulity understanding is document.forms[0].action
and document.forms[0].submit(). What kind of datastructure is "document"
and where is the definition? Where does the code reside? Where is the syntax?
I went through the document and the archives and found nothing. Could
anyone tell me tell me where to find the answer?
Thanks.
--George
-
To unsubscribe from the list, DO NOT REPLY to this message. Instead, send
email with 'UNSUBSCRIBE minivend-users' in the body to Majordomo@minivend.com.
Archive of past messages: http://www.minivend.com/minivend/minivend-list