I'm having error in setting up a drop down selected value returned from a controller in firefox only.. Im using cakephp 1.3.
It comes right when i first time load the pages but if i change the drop down value and refresh the page the value doesnt changed. It should be the one coming from controller.
But when i press ctrl+f5 the right value is showed up.
I guess it is something to do with the browser cache. Im not having this problem in google chrome.
im setting the value of the dropdown with selected value using this code
echo $this->Form->input('to_country_code',array(
'options'=>$countries,
'id'=>'to_country_code',
'label' => __('Country',true),
//'selected'=>$selectedCountryCode
'div' => false,
'default'=>$selectedToCountryCode
)
);
Any answers would be highly appreciated.