<option value="chips">Chips</option><option value="cookies">Cookies</option>

Thanks...



On Sunday, 24 June 2012 08:30:29 UTC-3, Franck wrote:
>
> Can you post the full HTML code generated by your database select ?
>
> Cheers
>
> On Thu, Jun 21, 2012 at 6:33 AM, Tomas Schertel <[email protected]>wrote:
>
>> I'm trying to implement a dynamic dropdown with web.py but I can't get it 
>> working.
>> I'm using this tutorial: http://css-tricks.com/dynamic-dropdowns/
>> I'll try to explain what happens...
>> I made a test page that returns my database select. My GET function 
>> returns this on screen AND as page's source:
>>
>>
>> <option value="chips">Chips</option><option value="cookies">Cookies</option>
>>
>>
>> When I browse the tutorial's PHP page [1], this page shows this:
>>
>>  Coffe
>> Coke
>>
>> But page's source is this:
>>
>> <option>Coffee</option><option>Coke</option>
>>
>>
>> My dorpdown doesn't work at all.
>> Maybe someone has had some similar problem.
>>
>> Thanks.
>>
>>
>> [1] - 
>> http://css-tricks.com/examples/DynamicDropdown/getter.php?choice=beverages
>>
>>  -- 
>> You received this message because you are subscribed to the Google Groups 
>> "web.py" group.
>> To view this discussion on the web visit 
>> https://groups.google.com/d/msg/webpy/-/rcWTp9TVYkUJ.
>> To post to this group, send email to [email protected].
>> To unsubscribe from this group, send email to 
>> [email protected].
>> For more options, visit this group at 
>> http://groups.google.com/group/webpy?hl=en.
>>
>
>

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To view this discussion on the web visit 
https://groups.google.com/d/msg/webpy/-/BwJoP-ekw-YJ.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to