移除自動套用的jquery ui

當匯入一些 jquery libary會自動將html 標籤套用特效,

此時在不想被加上特效的標籤加上 data-role=”none” 就不會被套用到

範例:

<select data-role=”none”>
<option value=””>請選擇縣市</option>
<option value=””>基隆市</option>
<option value=””>台北市</option>
<option value=””>新北市</option>
<option value=””>桃園市</option>
</select>

Advertisements
移除自動套用的jquery ui

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s