subzero2k35
Technical User
Im trying to construct a page on my website which allows the viewer to select a style of Alloy Wheel from a list (this is done in HTML), each Alloy wheel has 5 different sizes (14", 15" 16" 17" 18"
which have different Price values.
Once they have selected a Allow Whee the next page shows the Wheel with the 5 different prices, here they must select the size and quantity.
(This is where ive got a problem):The next page should show the chosen wheel, the size and price relating to the quantity.
Ive written they first page in HTML which calls a function to handle the second page.
im using
document.write('<a href="#" onClick="thirdPage(values)">BUTTON</a>')
to handle the selection and jump to the third page.
but im getting error messages Object expected.
If i replace the onClick to onClick=alert(values) i can get the alert box to show the values.
anyway im just wondering if im wasting my time trying to call a function from with a function using document.write??
or does anyone have a much simplier way of achieving what im after??
Thanks
Sub.

Once they have selected a Allow Whee the next page shows the Wheel with the 5 different prices, here they must select the size and quantity.
(This is where ive got a problem):The next page should show the chosen wheel, the size and price relating to the quantity.
Ive written they first page in HTML which calls a function to handle the second page.
im using
document.write('<a href="#" onClick="thirdPage(values)">BUTTON</a>')
to handle the selection and jump to the third page.
but im getting error messages Object expected.
If i replace the onClick to onClick=alert(values) i can get the alert box to show the values.
anyway im just wondering if im wasting my time trying to call a function from with a function using document.write??
or does anyone have a much simplier way of achieving what im after??
Thanks
Sub.