• 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!

TOPIC: back the result to display the price

back the result to display the price 12 years 3 months ago #15922

Hi I use this script to fill in my box read, but I want more than the result shows the price, it does not work. .
<script type="text/javascript">
function dynamic1(parent,child)
{
	var parent_array = new Array();
	// This is the default value
	parent_array[''] = ['Please select a manufacturer'];
	// All other elements
	// parent_array['PARENT NAME'] = ['CHILD 1','CHILD 2','CHILD 3','ETC'];
	parent_array['2005 Femme'] = ['SOFT U9'];
        parent_array['2004 Femme'] = ['SOFT U9'];
        parent_array['2003 Femme'] = ['SOFT U9'];
        parent_array['2005 Homme'] = ['SOFT U9'];
        parent_array['2004 Homme'] = ['SOFT U9'];
        parent_array['2003 Homme'] = ['SOFT U9'];
 
 
	// Get the child
	var thechild = document.getElementById(child);
 
	// Remove all other options from the select element
	thechild.options.length = 0;
 
	// What value are we looking for ?
	var parent_value = parent.options[parent.selectedIndex].value;
 
	// No value found, use the default value
	if (!parent_array[parent_value]) parent_value = '';
 
	// Set the correct length
	thechild.options.length = parent_array[parent_value].length;
 
	// Add the options
	for(var i=0;i<parent_array[parent_value].length;i++)
	{
		thechild.options[i].text = parent_array[parent_value][i];
		thechild.options[i].value = parent_array[parent_value][i];
	}
}
 
 
</script>
<script type="text/javascript">
function dynamic2(parent,child)
{
	var parent_array = new Array();
	// This is the default value
	parent_array[''] = ['Please select a manufacturer'];
	// All other elements
	// parent_array['PARENT NAME'] = ['CHILD 1','CHILD 2','CHILD 3','ETC'];
	parent_array['SOFT U9'] = ['20 euro'];
 
 
	// Get the child
	var thechild = document.getElementById(child);
 
	// Remove all other options from the select element
	thechild.options.length = 0;
 
	// What value are we looking for ?
	var parent_value = parent.options[parent.selectedIndex].value;
 
	// No value found, use the default value
	if (!parent_array[parent_value]) parent_value = '';
 
	// Set the correct length
	thechild.options.length = parent_array[parent_value].length;
 
	// Add the options
	for(var i=0;i<parent_array[parent_value].length;i++)
	{
		thechild.options[i].text = parent_array[parent_value][i];
		thechild.options[i].value = parent_array[parent_value][i];
	}
}
</script>
The administrator has disabled public write access.
  • 1

Read this first!

We do not monitor these forums. The forum is provided to exchange information and experience with other users ONLY. Forum responses are not guaranteed.

However, please submit a ticket if you have an active subscription and wish to receive support. Our ticketing system is the only way of getting in touch with RSJoomla! and receiving the official RSJoomla! Customer Support.

For more information, the Support Policy is located here.

Thank you!