Hi Guys
I am struggling with @mobilize and ajax().
I have a form with two SELECT whereby changes on the first select will
update the options on the second select using ajax().
When I access the page, the form gets perfectly "mobilized" by using "
plugin_jqmobile/layout.html".
Both select fields look well formatted and designed for mobile use.
When I now change the option in the first select-field the second
select-field gets updated but the design changes to the common design (not
mobilized).
How can I achieve that returned data from ajax() gets "mobilized"?
Thank you for any hints! :-)
rgds, Fritz
Here my example code:
@mobilize
def getForm()
form=FORM(\
DIV(mkSimpleSelectBox(db(db.category.id>0).select(),'category_id',category_id,CategoryOnChange)),\
DIV(mkSimpleSelectBox(db(db.subcategory.category_id==category_id).select(orderby=db.subcategory.seq),'subcategory_id',subcategory_id,SubcategoryOnChange),_id='subcategory_selection'),\