design error after ajax request
widget not get an update within a select fieldcontain after ajax request.
asin did something after the ajax call:
<div data-role='fieldcontain' >
<label for="color">color</label>
<select id='color' class='color' name='color' >
<option value="1">blue</option>
<option value='2'>red</option>
</select>
</div>
this the the php I bring with ajax,
$('select.color').selectmenu();
this is the way I try to create the widget.
some help please?