|
Smarty
WARNING: All discussion is moving to https://reddit.com/r/smarty, please go there! This forum will be closing soon. |
|
View previous topic :: View next topic |
Author |
Message |
rincewind50 Smarty n00b
Joined: 14 Nov 2013 Posts: 1
|
Posted: Mon May 12, 2014 6:36 am Post subject: html_options with multiple values |
|
|
hi I am new to smarty and i am trying to additional functionality to an application that uses smarty.
I have assigned a multi-dimensional array from a mysql database to smarty.
the array holds an id, name and price as attributes.
i want to be able to use a javascript onchange function to set a variable for the name, price and id for the selected item from the dropdown list.
I have read the documentation and see that html_option would seem to be the correct way to go. But I am at a loss how to use different value attributes. |
|
Back to top |
|
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB © 2001, 2005 phpBB Group
|