Ask a Question related to Dreamweaver AppDev, Design and Development.
-
hypamw #1
How to pass a form input text value to a javascriptmethod?
Hello,
I have a PHP page that gets product records from a database and layout the
records on a form table. The PHP page look like this:
ProductName ProductDescription Qty
product-1 <description> [user input]
Add to basket
product-2 <description> [user input]
Add to basket
product-3 <description> [user input]
Add to basket
......
Everything is from the database, except for the 'Qty' and 'Add to basket'.
'Qty' is a user input, and 'Add to basket' is link to a javascript method when
it is clicked.
My problems are:
1. How can I pass the 'Qty' value from the PHP page to the javascript method?
2. How can I associate/identify the 'Qty' value to each product?
I appreciate any help or suggestion. Thanks in advance.
Pw
hypamw Guest
-
Pass URL Parameter from html form to flash form
In CF, I have a link to a form to update a students attendance; takeattendancehv1.cfm?StudentID=#allstudents.StudentID# . I'm using a flash form in... -
Cannot pass form field variable from Flash form to CFC
hello, could someone please help me with an issue i'm having.... i'm trying to pass data from flash form fields into my coldfusion component... -
form bg color in text input
ok so i was trying this coldfusion example and came across this html "problem" if i have something like: <tr><td>Name1: </td><td><input type="text"... -
Pass encrypted text to SQL database from a form.
Move the key and 3 encyption lines to directly above your CFQUERY tag and encypt the form values <CFSET key = "98q34jt"> <CFSET encrypted1 =... -
<input type='image'> ... IE fails to pass value while Mozilla and Netsacpe works
newsgroup... I have found that the <input type=image'> passes a value when interpeted with Netscape or Mozilla but NOT with IE. Consider the...



Reply With Quote

