I have problem with making drop down or select list in the same way as tabstrip, so after change value it refreshes view with proper param.
Tried folowing code, but this is not causing view refresh:
where view is defined like :
Can anybody help with this?
Tried folowing code, but this is not causing view refresh:
<select name="weekChooser" onchange="javascript:handleSelect(this);"><option id="choose0" value="#chartView?period=13">CW13 - 26/03/2012</option><option id="choose1" value="#chartView?period=14">CW14 - 02/04/2012</option> </select><script type="text/javascript">function handleSelect(elm){window.location = elm.value;}</script> <div data-role="view" id="chartView" data-title="Some Title" data-layout="databinding" data-init="initChart" data-show="refreshChart"><div> </div></div>