<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Jquery &#8211; 任姓人妻 の 生活紀錄</title>
	<atom:link href="https://blog.cindygirl.cc/archives/category/learn/jquery/feed/" rel="self" type="application/rss+xml" />
	<link>https://blog.cindygirl.cc</link>
	<description>我是冠冠，於2015年1月1日正式成為人妻，在此紀錄婚後的點點滴滴。</description>
	<lastBuildDate>Fri, 20 Mar 2020 07:58:20 +0000</lastBuildDate>
	<language>zh-TW</language>
	<sy:updatePeriod>
	hourly	</sy:updatePeriod>
	<sy:updateFrequency>
	1	</sy:updateFrequency>
	<generator>https://wordpress.org/?v=6.9.4</generator>
	<item>
		<title>透過 ajax傳遞 checkbox:checked 陣列 &#038; codeigniter Controller 接值</title>
		<link>https://blog.cindygirl.cc/archives/8664/%e9%80%8f%e9%81%8e-ajax%e5%82%b3%e9%81%9e-checkboxchecked-%e9%99%a3%e5%88%97-codeigniter-controller-%e6%8e%a5%e5%80%bc/</link>
					<comments>https://blog.cindygirl.cc/archives/8664/%e9%80%8f%e9%81%8e-ajax%e5%82%b3%e9%81%9e-checkboxchecked-%e9%99%a3%e5%88%97-codeigniter-controller-%e6%8e%a5%e5%80%bc/#respond</comments>
		
		<dc:creator><![CDATA[cindygirl]]></dc:creator>
		<pubDate>Fri, 20 Mar 2020 07:55:13 +0000</pubDate>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[PHP]]></category>
		<guid isPermaLink="false">https://blog.cindygirl.cc/?p=8664</guid>

					<description><![CDATA[<p>ajax 設定 FormData() 傳遞陣列  &#8230;</p>
<p>這篇文章 <a rel="nofollow" href="https://blog.cindygirl.cc/archives/8664/%e9%80%8f%e9%81%8e-ajax%e5%82%b3%e9%81%9e-checkboxchecked-%e9%99%a3%e5%88%97-codeigniter-controller-%e6%8e%a5%e5%80%bc/">透過 ajax傳遞 checkbox:checked 陣列 &#038; codeigniter Controller 接值</a> 最早出現於 <a rel="nofollow" href="https://blog.cindygirl.cc">任姓人妻 の 生活紀錄</a>。</p>
]]></description>
										<content:encoded><![CDATA[<h3><b>ajax 設定 FormData() 傳遞陣列</b></h3>
<blockquote>
<div>  // 1. 取得勾選項目</div>
<div>        var items = [];</div>
<div>        $.each($(&#8220;.select-export:checked&#8221;), function(){</div>
<div>            items.push($(this).val());</div>
<div>        });</div>
<div>            var form_data = new FormData();</div>
<div>            form_data.append(&#8216;ids&#8217;, items);</div>
<div></div>
<div>        // 2. 匯出</div>
<div>          $.ajax({</div>
<div>            url: &#8220;/Product/export&#8221;,</div>
<div>            type: &#8220;POST&#8221;,</div>
<div>            dataType: &#8220;text&#8221;,</div>
<div>            <span style="color: #ff0000;">data: form_data,</span></div>
<div>            contentType: false,</div>
<div>            processData: false,</div>
<div>            success: function(data) {</div>
<div></div>
<div>            },</div>
<div>            error: function(XMLHttpRequest, textStatus, errorThrown) {</div>
<div></div>
<div>            }</div>
<div>        });</div>
</blockquote>
<h3><strong>PHP Controller 接值  (use  codeigniter)</strong></h3>
<blockquote><p>$_REQUEST[&#8216;ids&#8217;];</p></blockquote>
<p>這篇文章 <a rel="nofollow" href="https://blog.cindygirl.cc/archives/8664/%e9%80%8f%e9%81%8e-ajax%e5%82%b3%e9%81%9e-checkboxchecked-%e9%99%a3%e5%88%97-codeigniter-controller-%e6%8e%a5%e5%80%bc/">透過 ajax傳遞 checkbox:checked 陣列 &#038; codeigniter Controller 接值</a> 最早出現於 <a rel="nofollow" href="https://blog.cindygirl.cc">任姓人妻 の 生活紀錄</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.cindygirl.cc/archives/8664/%e9%80%8f%e9%81%8e-ajax%e5%82%b3%e9%81%9e-checkboxchecked-%e9%99%a3%e5%88%97-codeigniter-controller-%e6%8e%a5%e5%80%bc/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
		<item>
		<title>【Jquery】在行動裝置上停止滑動頁面</title>
		<link>https://blog.cindygirl.cc/archives/2470/%e3%80%90jquery%e3%80%91%e5%9c%a8%e8%a1%8c%e5%8b%95%e8%a3%9d%e7%bd%ae%e4%b8%8a%e5%81%9c%e6%ad%a2%e6%bb%be%e5%8b%95%e8%a6%96%e7%aa%97/</link>
					<comments>https://blog.cindygirl.cc/archives/2470/%e3%80%90jquery%e3%80%91%e5%9c%a8%e8%a1%8c%e5%8b%95%e8%a3%9d%e7%bd%ae%e4%b8%8a%e5%81%9c%e6%ad%a2%e6%bb%be%e5%8b%95%e8%a6%96%e7%aa%97/#respond</comments>
		
		<dc:creator><![CDATA[cindygirl]]></dc:creator>
		<pubDate>Thu, 31 Mar 2016 08:33:59 +0000</pubDate>
				<category><![CDATA[Jquery]]></category>
		<category><![CDATA[學習筆記]]></category>
		<guid isPermaLink="false">https://blog.cindygirl.cc/?p=2470</guid>

					<description><![CDATA[<p>功能 當我點擊搜尋時，開啟輸入關鍵字的視窗，頁面不&#8230;</p>
<p>這篇文章 <a rel="nofollow" href="https://blog.cindygirl.cc/archives/2470/%e3%80%90jquery%e3%80%91%e5%9c%a8%e8%a1%8c%e5%8b%95%e8%a3%9d%e7%bd%ae%e4%b8%8a%e5%81%9c%e6%ad%a2%e6%bb%be%e5%8b%95%e8%a6%96%e7%aa%97/">【Jquery】在行動裝置上停止滑動頁面</a> 最早出現於 <a rel="nofollow" href="https://blog.cindygirl.cc">任姓人妻 の 生活紀錄</a>。</p>
]]></description>
										<content:encoded><![CDATA[<h1>
	功能<br />
</h1>
<p>
	當我點擊搜尋時，開啟輸入關鍵字的視窗，頁面不能滑動。
</p>
<p>
	<a href="https://blog.cindygirl.cc/wp-content/uploads/2016/03/Image-2.png" rel="attachment wp-att-2471"><img fetchpriority="high" decoding="async" alt="Image 2" class="alignnone size-full wp-image-2471" height="497" src="https://blog.cindygirl.cc/wp-content/uploads/2016/03/Image-2.png" width="336" srcset="https://blog.cindygirl.cc/wp-content/uploads/2016/03/Image-2.png 336w, https://blog.cindygirl.cc/wp-content/uploads/2016/03/Image-2-203x300.png 203w" sizes="(max-width: 336px) 100vw, 336px" /></a>
</p>
<p>
	&nbsp;
</p>
<h1>
	說明<br />
</h1>
<p>
	原本的語法是
</p>
<p>
	$(&#39;body,html&#39;).css(&#39;overflow&#39;,&#39;hidden&#39;);
</p>
<p>
	在桌機的chrome模擬手機裝置上可以正常運作
</p>
<p>
	但是實際到手機操作，功能卻失效了
</p>
<p>
	後來改成以下語法，就可以正常運作了
</p>
<p>
	$(document).bind(&quot;touchmove&quot;,function(event){<br />
	&nbsp; &nbsp; &nbsp; &nbsp;event.preventDefault(); &nbsp;//停止滑動<br />
	&nbsp;});
</p>
<p>
	要恢復滑動效果，則是以下語法
</p>
<p>
	$(document).unbind(&#39;touchmove&#39;);&nbsp;</p>
<p>這篇文章 <a rel="nofollow" href="https://blog.cindygirl.cc/archives/2470/%e3%80%90jquery%e3%80%91%e5%9c%a8%e8%a1%8c%e5%8b%95%e8%a3%9d%e7%bd%ae%e4%b8%8a%e5%81%9c%e6%ad%a2%e6%bb%be%e5%8b%95%e8%a6%96%e7%aa%97/">【Jquery】在行動裝置上停止滑動頁面</a> 最早出現於 <a rel="nofollow" href="https://blog.cindygirl.cc">任姓人妻 の 生活紀錄</a>。</p>
]]></content:encoded>
					
					<wfw:commentRss>https://blog.cindygirl.cc/archives/2470/%e3%80%90jquery%e3%80%91%e5%9c%a8%e8%a1%8c%e5%8b%95%e8%a3%9d%e7%bd%ae%e4%b8%8a%e5%81%9c%e6%ad%a2%e6%bb%be%e5%8b%95%e8%a6%96%e7%aa%97/feed/</wfw:commentRss>
			<slash:comments>0</slash:comments>
		
		
			</item>
	</channel>
</rss>
