I have two dropdown lists like the ones below and I would like to compose
my URL using the month and year as vars, after I click a certain link.How
can I change my current request.vars to the selected values?
<select id="month" name="mn" class="selectClass">
<option value="">Select month:</option>
{{for m in months:}}
<option value='{{=m}}'>{{=m}}</option>
{{pass}}
</select>
<select id="year" name="yr" class="selectClass">
<option value="">Select year:</option>
{{for y in years:}}
<option value='{{=y}}'>{{=y}}</option>
{{pass}}
</select>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.