大佬教程收集整理的这篇文章主要介绍了jquery – 无法重置选择工作,大佬教程大佬觉得挺不错的,现在分享给大家,也给大家做个参考。
$j(function() { // Binds all buttons and events $j('#changecountry').click(countryPopup); $j('#catalogsearch').click(toggleSearch); $j('#closesearch').click(toggleSearch); /* Centers content on page according to phone width */ centerContent('.header-links','.header-links ul'); centerContent('.footer-links','.footer-links ul'); /* Other instancing */ $j('SELEct').uniform({ resetSELEct: '.reset' }); $j('input[type=radio]').uniform(); $j('input[type=checkBox]').uniform(); activateLinks(); arrow_position(); front_page_accordion(); });
下一部分是看起来像这样的形式:
<SELEct class="uniform gift-layer" name="cost" id="cost"> <option value="0"><?PHP echo $this->__('what is your price range?'); ?></option> <?PHP foreach($prices as $pricE) : ?> <option value="<?PHP echo $price['value']; ?>"><?PHP echo $price['label']; ?></option> <?PHP endforeach; ?> </SELEct>
有谁能告诉我出了什么问题?
$j('SELEct').uniform({ resetSELEctor: '.reset' });
代替
$j('SELEct').uniform({ resetSELEct: '.reset' });
以上是大佬教程为你收集整理的jquery – 无法重置选择工作全部内容,希望文章能够帮你解决jquery – 无法重置选择工作所遇到的程序开发问题。
如果觉得大佬教程网站内容还不错,欢迎将大佬教程推荐给程序员好友。
本图文内容来源于网友网络收集整理提供,作为学习参考使用,版权属于原作者。
如您有任何意见或建议可联系处理。小编QQ:384754419,请注明来意。