Hi,
I’m just wondering if it’s possible to replace html tag from <input> to <button> for ajaxSubmitButton?
When user input a search string in a searchbox and press enter, then page under IE8 goes to a home page instead of running ajax query (on all other browsers it works fine).
Now, I read about tag property but this seems to not work… or maybe I did something wrong?
echo CHtml::ajaxSubmitButton('',
array('gatunki/szukaj'),
array('update'=>'#gatunki'),
array('class'=>'searchformbutton', 'id'=>'serachbutton', 'tag'=>'button' ));
Could anyone help?
Thanks,
BarBQ