|
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 |
Enquest Smarty Regular
Joined: 14 May 2003 Posts: 79
|
Posted: Mon Jun 02, 2003 7:43 am Post subject: html_select |
|
|
with HTML_SELECT it would be great that a option when selected the it automated select so you don't have to add a submit button! _________________ -----------------------
Learning my self by trying to help others |
|
Back to top |
|
user2222 Smarty Rookie
Joined: 18 Apr 2003 Posts: 7
|
Posted: Mon Jun 16, 2003 9:01 am Post subject: HTML_SELECT |
|
|
Yes, I think it's a good idea.
Moreover, I think that the javascript function should be an attribute that should be assigned to every SELECT / RADIO BUTTON object.
Having such object is like habing a javascript function with :
Good Work.
User2222 |
|
Back to top |
|
gsmurf Smarty n00b
Joined: 15 Feb 2004 Posts: 3
|
Posted: Sun Feb 15, 2004 2:51 pm Post subject: |
|
|
ho yes, it's wiil be fine to have this plugin !!! |
|
Back to top |
|
messju Administrator
Joined: 16 Apr 2003 Posts: 3336 Location: Oldenburg, Germany
|
Posted: Sun Feb 15, 2004 4:14 pm Post subject: |
|
|
all attributes you add that are not known and processed by html_options, are appended as attributes to the <select>-tag:
so (OTOH):
{html_options name=foo options=$list onchange="this.form.submit()"}
should and an onchange-attribute to the select-list. |
|
Back to top |
|
cibouseb Smarty Rookie
Joined: 15 Apr 2004 Posts: 6
|
Posted: Fri Apr 16, 2004 9:31 am Post subject: |
|
|
messju wrote: | all attributes you add that are not known and processed by html_options, are appended as attributes to the <select>-tag:
so (OTOH):
{html_options name=foo options=$list onchange="this.form.submit()"}
should and an onchange-attribute to the select-list. |
It is possible to make the same thing with 'HTML_SELECT_DATE' ?
Thanks for yours answers.
Sebastien |
|
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
|