2014-10-12 50 views
10

我有一個這樣的輸入:HTML - 保持佔位符,當用戶鍵入

<input value="My text" placeholder="Placeholder"> 

當我輸入類型的東西佔位符文本會消失,這是相當明顯的。現在

,我想要做的就是我想要的佔位符文本留在用戶的類型,所以你可以看到佔位符文本與原始文本後面的背景文字:

placeholder

編輯:我也希望能夠使用JavaScript更改背景文本。

+0

我認爲這不是一個好的做法。你可以使用,它將保持在那裏。或者在用戶開始輸入時只顯示輸入標題 programaticaly。 – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/4094972/">Meer</a></span> <span>2014-10-12 10:42:50</span> </small> </span> </p> </div> </div> </div> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+1</span></div> <div class="col-lg-11"> <p class="commenttext">@Meer你能舉個例子嗎?像小提琴一樣? – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/2378102/">super</a></span> <span>2014-10-12 10:46:47</span> </small> </span> </p> </div> </div> </div> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+0</span></div> <div class="col-lg-11"> <p class="commenttext">@Tambo你能舉個例子嗎?像小提琴一樣? – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/2378102/">super</a></span> <span>2014-10-12 10:47:17</span> </small> </span> </p> </div> </div> </div> </div> </div> </article> </div> <div class="answer-title"> <span class="text-logo margin-top-sm">A</span> <h2 class="title h4">回答</h2> </div> <div class="item-description text-md markdown-body margin-bottom-40 voidso"> <article class="board-top-1 padding-top-10"> <div class="post-col vote-info"> <span class="count">10<i class="fa fa-thumbs-up"></i></span> <i class="fa fa-check fa-2x"></i> </div> <div class="post-offset"> <div class="answer fmt"> <p>很難想象這種行爲的好用例,因爲它阻止了一些用戶的輸入。</p> <p>一個簡單的方法是使用<a href="http://www.w3.org/TR/CSS2/generate.html#before-after-content" rel="noreferrer"><code class="prettyprint-override">input::after</code></a>,但現在任何瀏覽器都不支持此功能(謝謝@ JukkaK.Korpela)。</p> <p>但是你可以使用一個包裝元素和數據屬性,如下所示:</p> <pre><code class="prettyprint-override"><div class="placeholder" data-placeholder="my placeholder"> <input value="My text" /> </div> </code></pre> <p>有了這個CSS:</p> <pre><code class="prettyprint-override">.placeholder { position: relative; } .placeholder::after { position: absolute; left: 5px; top: 3px; content: attr(data-placeholder); pointer-events: none; opacity: 0.6; } </code></pre> <p>,導致:<img src="https://i.stack.imgur.com/6ebqc.png" alt="enter image description here"></p> <p><strong><a href="http://jsfiddle.net/dkoruadc/" rel="noreferrer">Click here for jsFiddle demo.</a></strong></p> <hr> <p>既然你將不得不做調整,使這個看起來好了很多,你也可以考慮使用包裹<code class="prettyprint-override"><div></code>元素作爲輸入「看起來很像」:</p> <pre><code class="prettyprint-override"><div class="editable" data-placeholder="my placeholder"> <input type="text" value="my Text" /> </div> </code></pre> <p>CSS:</p> <pre><code class="prettyprint-override">.editable { position: relative; border: 1px solid gray; padding: 3px; background-color: white; box-shadow: rgba(0,0,0,0.4) 2px 2px 2px inset; } .editable > input { position: relative; z-index: 1; border: none; background-color: transparent; box-shadow: none; width: 100%; } .editable::after { position: absolute; left: 4px; top: 5px; content: attr(data-placeholder); pointer-events: none; opacity: 0.5; z-index: 1; } </code></pre> <p><strong><a href="http://jsfiddle.net/dkoruadc/4/" rel="noreferrer">Click here for the Demo 3. (with mocked <code class="prettyprint-override"><input /></code>)</a></strong></p> <p><strong><a href="http://jsfiddle.net/dkoruadc/2/" rel="noreferrer">Click here for the Demo 2. (with contenteditable)</a></strong></p> </div> <div class="post-info"> <div class="post-meta row"> <p class="text-secondary col-lg-6"> <span class="source"> <a rel="noopener" target="_blank" href="https://stackoverflow.com/q/26324366">來源</a> </span> </p> <p class="text-secondary col-lg-6"> <span class="float-right date"> <span>2014-10-12 10:51:46</span> </p> <p class="col-12"></p> <p class="col-12"></p></div> </div> <!-- comments --> <div class="comments"> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+0</span></div> <div class="col-lg-11"> <p class="commenttext">不錯,但對我來說,「我的文本awd」下的「我的佔位符」文本稍微有點點,它在Chrome和Firefox中都會出現,無論如何要解決這個問題? – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/2378102/">super</a></span> <span>2014-10-12 10:55:45</span> </small> </span> </p> </div> </div> </div> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+0</span></div> <div class="col-lg-11"> <p class="commenttext">不符合你喜歡的方式。你可以爲'<input>'做一個透明背景,並使用'z-index'來改變堆棧,但是這變得相當醜陋:http://jsfiddle.net/dkoruadc/1/。您也可能會遇到不同瀏覽器和操作系統的麻煩。 – <span class="text-secondary"> <small> <span>2014-10-12 11:00:53</span> </small> </span> </p> </div> </div> </div> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+0</span></div> <div class="col-lg-11"> <p class="commenttext">用戶編寫的文本也會變得不可讀。你爲什麼在第一個嘗試這個? – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/4094972/">Meer</a></span> <span>2014-10-12 11:02:20</span> </small> </span> </p> </div> </div> </div> </div> </div> </article> <div> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6208739752673518" data-ad-slot="4319274062" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <article class="board-top-1 padding-top-10"> <div class="post-col vote-info"> <span class="count">4<i class="fa fa-thumbs-up"></i></span> </div> <div class="post-offset"> <div class="answer fmt"> <p>更好的解決方案,通過CSS輕鬆實現效果。請看:<a href="http://jsfiddle.net/csdtesting/wbqq129q/" rel="nofollow noreferrer">http://jsfiddle.net/csdtesting/wbqq129q/</a></p> <ul> <li>打字之前:</li> </ul> <p><img src="https://i.stack.imgur.com/aHkDK.jpg" alt="enter image description here"></p> <ul> <li>雖然打字:</li> </ul> <p><img src="https://i.stack.imgur.com/nJXAQ.png" alt="enter image description here"></p> <p><strong>郵編:</strong></p> <p></p> <div class="snippet" data-lang="js" data-hide="false" data-console="false" data-babel="false"> <div class="snippet-code" id="sn1"> <pre class="snippet-code-css lang-css prettyprint-override"><code class="prettyprint-override">#login { font-size: 12px; margin: 0 auto; width: 700px; } #login li { float: left; list-style: none; margin-left: 30px; position: relative; } #login li:first-child { margin-left: 0; } label { line-height: 40px; position: absolute; right: 120px; top: 0; bottom: 0; -moz-transition: 0.3s right ease; -ms-transition: 0.3s right ease; -o-transition: 0.3s right ease; -webkit-transition: 0.3s right ease; transition: 0.3s right ease; z-index: 0 } input { color: transparent; font-size: 12px; height: 35px; -moz-border-radius: 3px; -webkit-border-radius: 3px; border-radius: 3px; -moz-transition: 0.3s all ease; -ms-transition: 0.3s all ease; -o-transition: 0.3s all ease; -webkit-transition: 0.3s all ease; transition: 0.3s all ease; } input[type="email"], input[type="password"] { border: 1px solid #ccc; height: 35px; padding: 0 10px; width: 240px; position: relative; -moz-box-shadow: inset 0 0 10px rgba(0, 0, 0, .06); -webkit-box-shadow: inset 0 0 10px rgba(0, 0, 0, .06); box-shadow: inset 0 0 10px rgba(0, 0, 0, .06); z-index: 2; } input[type="email"] { color: rgba(47, 130, 194, .8); } /* Placeholder */ input[type="email"]:-moz-placeholder { color: rgba(47, 130, 194, .6); } input[type="email"]:-ms-input-placeholder { color: rgba(47, 130, 194, .6); } input[type="email"]::-webkit-input-placeholder { color: rgba(47, 130, 194, .6); } /* Label */ input[type="email"] + label { color: rgb(47, 130, 194); } input:focus + label { right: 10px; } input[type="email"]:focus, input[type="password"]:focus { background-color: rgba(255, 255, 255, .8); } /* Submit */ input[type="submit"] { background-color: #333; background: -moz-linear-gradient(bottom, #333, #444); background: -ms-linear-gradient(bottom, #333, #444); background: -o-linear-gradient(bottom, #333, #444); background: -webkit-linear-gradient(bottom, #333, #444); background: linear-gradient(bottom, #333, #444); border: 1px solid #222; color: #fff; cursor: pointer; height: 35px; width: 110px; }</code></pre> <pre class="snippet-code-html lang-html prettyprint-override"><code class="prettyprint-override"><form id="login"> <ul> <li> <input id="email" name="email" placeholder="Your Email" title="Your Email" type="email" required /> <label for="email">Your Email</label> </li> </ul> </form></code></pre> </div> </div> <p></p> </div> <div class="post-info"> <div class="post-meta row"> <p class="text-secondary col-lg-6"> <span class="source"> <a rel="noopener" target="_blank" href="https://stackoverflow.com/q/26324448">來源</a> </span> </p> <p class="text-secondary col-lg-6"> <span class="float-right date"> <span>2014-10-12 11:03:09</span> </p> <p class="col-12"></p> <p class="col-12"></p></div> </div> <!-- comments --> <div class="comments"> <div itemprop="comment" class="post-comment"> <div class="row"> <div class="col-lg-1"><span class="text-secondary">+1</span></div> <div class="col-lg-11"> <p class="commenttext">但這不是我想要達到的。 – <span class="text-secondary"> <small> <a rel="noopener" target="_blank" href="https://stackoverflow.com/users/2378102/">super</a></span> <span>2014-10-12 11:11:08</span> </small> </span> </p> </div> </div> </div> </div> </div> </article> <article class="board-top-1 padding-top-10"> <div class="post-col vote-info"> <span class="count">0<i class="fa fa-thumbs-up"></i></span> </div> <div class="post-offset"> <div class="answer fmt"> <p>這可以通過使用 '的onchange' 處理程序來完成。你將編寫一個奇特的函數,將佔位符的其餘部分連接到用戶輸入的內容上,並將光標放在用戶文本的末尾。</p> <p>下面是一些未經檢驗的,不完整的JS /僞代碼給你一個想法:</p> <pre><code class="prettyprint-override">userTextLength: 0, // measure of how many chars the user has typed; need this because the length itself won't be a valid measure, since we're modifying it in place. Note that we're using the DOM as a source of truth here... alternative method would be to store the user's text itself here, but let's run with this. placeholder: "xx/yy/zz", onchange: function() { boxText = document.querySelector('#elem').value; if (boxText.length === 1) { // special handling for the first character they type. (Using placeholder text at first.) this.userTextLength++; placeholder = boxText.slice(userTextLength); userText = boxText.slice(0, userTextLength); document.querySelector('#elem').innerHTML = userText + placeholder; } if (boxText.length < placeholder.length) { // this would mean they used backspace, which also needs to be handled. } else { // the normal case, should look quite similar to the first if block this.userTextLength += 1; userInput = } } </code></pre> <p>東西我還沒有在這裏處理是光標聚焦。這將需要一個'onfocus'事件,並且還將使用userTextLength屬性來決定將它放在哪裏。對於這樣做的一些幫助,<a href="https://stackoverflow.com/questions/512528/set-cursor-position-in-html-textbox">this answer</a>看起來應該是有幫助的。</p> </div> <div class="post-info"> <div class="post-meta row"> <p class="text-secondary col-lg-6"> <span class="source"> <a rel="noopener" target="_blank" href="https://stackoverflow.com/q/37309615">來源</a> </span> </p> <p class="text-secondary col-lg-6"> <span class="float-right date"> <span>2016-05-18 20:33:53</span> </p> <p class="col-12"></p> <p class="col-12"></p></div> </div> </div> </article> </div> <div class="clearfix"> </div> <div class="relative-box"> <div class="relative">相關問題</div> <ul class="relative_list"> <li> 1. <a href="http://hk.voidcc.com/question/p-pdhfbbzn-qv.html" target="_blank" title="持續性HTML輸入佔位符"> 持續性HTML輸入佔位符 </a> </li> <li> 2. <a href="http://hk.voidcc.com/question/p-vuvjgixr-tg.html" target="_blank" title="保留佔位符後鍵入"> 保留佔位符後鍵入 </a> </li> <li> 3. <a href="http://hk.voidcc.com/question/p-xohtwonw-h.html" target="_blank" title="vb.net HTML輸入佔位符"> vb.net HTML輸入佔位符 </a> </li> <li> 4. <a href="http://hk.voidcc.com/question/p-emftjosn-ux.html" target="_blank" title="在用戶輸入後保持輸入佔位符文本可見"> 在用戶輸入後保持輸入佔位符文本可見 </a> </li> <li> 5. <a href="http://hk.voidcc.com/question/p-vksutbyb-qa.html" target="_blank" title="Android HTML佔位符"> Android HTML佔位符 </a> </li> <li> 6. <a href="http://hk.voidcc.com/question/p-pvbxenwv-qb.html" target="_blank" title="jQuery的輸入掩碼保持佔位符文本"> jQuery的輸入掩碼保持佔位符文本 </a> </li> <li> 7. <a href="http://hk.voidcc.com/question/p-rhgvnlag-tp.html" target="_blank" title="HTML輸入自動填充佔位符"> HTML輸入自動填充佔位符 </a> </li> <li> 8. <a href="http://hk.voidcc.com/question/p-hefdtuwe-gt.html" target="_blank" title="佔位符HTML元素?"> 佔位符HTML元素? </a> </li> <li> 9. <a href="http://hk.voidcc.com/question/p-qvgastvs-pw.html" target="_blank" title="Pygtk入口占位符"> Pygtk入口占位符 </a> </li> <li> 10. <a href="http://hk.voidcc.com/question/p-fuavrwom-to.html" target="_blank" title="保持圖像佔位符,直到與.sortable下降"> 保持圖像佔位符,直到與.sortable下降 </a> </li> <li> 11. <a href="http://hk.voidcc.com/question/p-sudrbihe-oe.html" target="_blank" title="HTML 5佔位符:當用戶選擇字段使文本消失"> HTML 5佔位符:當用戶選擇字段使文本消失 </a> </li> <li> 12. <a href="http://hk.voidcc.com/question/p-cxbkupem-hq.html" target="_blank" title="在佔位符中使用html"> 在佔位符中使用html </a> </li> <li> 13. <a href="http://hk.voidcc.com/question/p-djoajmpj-vp.html" target="_blank" title="HTML佔位符不適用於Android"> HTML佔位符不適用於Android </a> </li> <li> 14. <a href="http://hk.voidcc.com/question/p-begxwjhp-d.html" target="_blank" title="千位分隔符與columnGridView逗號,當用戶鍵入"> 千位分隔符與columnGridView逗號,當用戶鍵入 </a> </li> <li> 15. <a href="http://hk.voidcc.com/question/p-ggfuashs-rx.html" target="_blank" title="風格輸入佔位符"> 風格輸入佔位符 </a> </li> <li> 16. <a href="http://hk.voidcc.com/question/p-ojafgjba-og.html" target="_blank" title="富佔位符無法在佔位符中輸入文本"> 富佔位符無法在佔位符中輸入文本 </a> </li> <li> 17. <a href="http://hk.voidcc.com/question/p-obpfzoga-bk.html" target="_blank" title="負載串與用戶名佔位符"> 負載串與用戶名佔位符 </a> </li> <li> 18. <a href="http://hk.voidcc.com/question/p-ckzizinb-pz.html" target="_blank" title="C#相當於VB6字符佔位符"> C#相當於VB6字符佔位符 </a> </li> <li> 19. <a href="http://hk.voidcc.com/question/p-uhxpivfa-cb.html" target="_blank" title="清除表單輸入,並保持佔位"> 清除表單輸入,並保持佔位 </a> </li> <li> 20. <a href="http://hk.voidcc.com/question/p-dyjkdinu-so.html" target="_blank" title="React輸入佔位符內的html字符"> React輸入佔位符內的html字符 </a> </li> <li> 21. <a href="http://hk.voidcc.com/question/p-mmtktnnv-ug.html" target="_blank" title="使用佔位符"> 使用佔位符 </a> </li> <li> 22. <a href="http://hk.voidcc.com/question/p-ubpqxuwz-cq.html" target="_blank" title="C#通過帶有佔位符的文本文件運行,並用用戶輸入替換佔位符"> C#通過帶有佔位符的文本文件運行,並用用戶輸入替換佔位符 </a> </li> <li> 23. <a href="http://hk.voidcc.com/question/p-aagnvygi-gn.html" target="_blank" title="佔位符 - 在operamobile中不支持 - Jquerymobile"> 佔位符 - 在operamobile中不支持 - Jquerymobile </a> </li> <li> 24. <a href="http://hk.voidcc.com/question/p-krgnpelj-nk.html" target="_blank" title="佔位符是否支持IE 8?"> 佔位符是否支持IE 8? </a> </li> <li> 25. <a href="http://hk.voidcc.com/question/p-kookrnva-pv.html" target="_blank" title="用SED替換佔位符"> 用SED替換佔位符 </a> </li> <li> 26. <a href="http://hk.voidcc.com/question/p-bakabshy-ho.html" target="_blank" title="如何在輸入框中保持用戶輸入? [HTML/AngularJS]"> 如何在輸入框中保持用戶輸入? [HTML/AngularJS] </a> </li> <li> 27. <a href="http://hk.voidcc.com/question/p-zdjfcaud-hc.html" target="_blank" title="用html元素替換html的佔位符文本使用javascript"> 用html元素替換html的佔位符文本使用javascript </a> </li> <li> 28. <a href="http://hk.voidcc.com/question/p-zdtniozq-uk.html" target="_blank" title="Tensorflow導入metagraph佔位符未送入"> Tensorflow導入metagraph佔位符未送入 </a> </li> <li> 29. <a href="http://hk.voidcc.com/question/p-tducngjr-hg.html" target="_blank" title="在jQuery中輸入字段佔位符"> 在jQuery中輸入字段佔位符 </a> </li> <li> 30. <a href="http://hk.voidcc.com/question/p-ugdufexu-gc.html" target="_blank" title="衝刺html文件佔位符"> 衝刺html文件佔位符 </a> </li> </ul> </div> <div> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <ins class="adsbygoogle" style="display:block" data-ad-format="autorelaxed" data-ad-client="ca-pub-6208739752673518" data-ad-slot="3534119089"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="padding-top-10"></div> </div> </div> <script type="text/javascript" src="http://img2.voidcc.com/voidso/script/side.js?t=1652515421930"></script> <script type="text/javascript" src="http://img2.voidcc.com/voidso/plugin/highlight/highlight.pack.js"></script> <link href="http://img2.voidcc.com/voidso/plugin/highlight/styles/docco.css" media="screen" rel="stylesheet" type="text/css" /> <script type="text/javascript"> $('pre').each(function(i, e) { hljs.highlightBlock(e, "<span class='indent'> </span>", false) }); </script> <div class="col-lg-3 col-md-4 col-sm-5"> <div id="rightTop"> <div class="row"> <script async src="//pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script> <!-- VOIDCC问答侧边栏广告 --> <ins class="adsbygoogle" style="display:block" data-ad-client="ca-pub-6208739752673518" data-ad-slot="3862022848" data-ad-format="auto" data-full-width-responsive="true"></ins> <script> (adsbygoogle = window.adsbygoogle || []).push({}); </script> </div> <div class="row sidebar panel panel-default"> <div class="panel-heading font-bold"> 最新問題 </div> <div class="m-b-sm m-t-sm clearfix"> <ul class="side_article_list"> <li class="side_article_list_item"> 1. <a href="http://hk.voidcc.com/question/p-elhacwns-bca.html" target="_blank" title="AlertView彈出兩次單按鈕"> AlertView彈出兩次單按鈕 </a> </li> <li class="side_article_list_item"> 2. <a href="http://hk.voidcc.com/question/p-kdsloxnp-uu.html" target="_blank" title="Kafka Streams:使用相同的`application.id`來消費多個主題"> Kafka Streams:使用相同的`application.id`來消費多個主題 </a> </li> <li class="side_article_list_item"> 3. <a href="http://hk.voidcc.com/question/p-hkspxhzj-ut.html" target="_blank" title="同時具有自定義功能和任務窗格"> 同時具有自定義功能和任務窗格 </a> </li> <li class="side_article_list_item"> 4. <a href="http://hk.voidcc.com/question/p-rjumxxom-us.html" target="_blank" title="Squarespace:在移動設備上只"> Squarespace:在移動設備上只 </a> </li> <li class="side_article_list_item"> 5. <a href="http://hk.voidcc.com/question/p-ovwgxidv-us.html" target="_blank" title="Xamarin Android RelativeLayout設計器設置"> Xamarin Android RelativeLayout設計器設置 </a> </li> <li class="side_article_list_item"> 6. <a href="http://hk.voidcc.com/question/p-pbusixlv-ur.html" target="_blank" title="製作一個黑暗的崩潰的導航欄視覺上不同"> 製作一個黑暗的崩潰的導航欄視覺上不同 </a> </li> <li class="side_article_list_item"> 7. <a href="http://hk.voidcc.com/question/p-xixoyaot-bcq.html" target="_blank" title="在字符串中添加一行"> 在字符串中添加一行 </a> </li> <li class="side_article_list_item"> 8. <a href="http://hk.voidcc.com/question/p-botfbdds-bbu.html" target="_blank" title="tkinter畫布在框架"> tkinter畫布在框架 </a> </li> <li class="side_article_list_item"> 9. <a href="http://hk.voidcc.com/question/p-gqikldrz-bbo.html" target="_blank" title="使用Java Rally Rest API向測試集添加200多個測試用例"> 使用Java Rally Rest API向測試集添加200多個測試用例 </a> </li> <li class="side_article_list_item"> 10. <a href="http://hk.voidcc.com/question/p-anuajaun-bak.html" target="_blank" title="自舉應用程序嚮導中的滾動條"> 自舉應用程序嚮導中的滾動條 </a> </li> </ul> </div> </div> </div> <p class="article-nav-bar"></p> <div class="row sidebar article-nav"> <div class="row box_white visible-sm visible-md visible-lg margin-zero"> <div class="top"> <h3 class="title"><i class="glyphicon glyphicon-th-list"></i> 相關問題</h3> </div> <div class="article-relative-content"> <ul class="side_article_list"> <li class="side_article_list_item"> 1. <a href="http://hk.voidcc.com/question/p-pdhfbbzn-qv.html" target="_blank" title="持續性HTML輸入佔位符"> 持續性HTML輸入佔位符 </a> </li> <li class="side_article_list_item"> 2. <a href="http://hk.voidcc.com/question/p-vuvjgixr-tg.html" target="_blank" title="保留佔位符後鍵入"> 保留佔位符後鍵入 </a> </li> <li class="side_article_list_item"> 3. <a href="http://hk.voidcc.com/question/p-xohtwonw-h.html" target="_blank" title="vb.net HTML輸入佔位符"> vb.net HTML輸入佔位符 </a> </li> <li class="side_article_list_item"> 4. <a href="http://hk.voidcc.com/question/p-emftjosn-ux.html" target="_blank" title="在用戶輸入後保持輸入佔位符文本可見"> 在用戶輸入後保持輸入佔位符文本可見 </a> </li> <li class="side_article_list_item"> 5. <a href="http://hk.voidcc.com/question/p-vksutbyb-qa.html" target="_blank" title="Android HTML佔位符"> Android HTML佔位符 </a> </li> <li class="side_article_list_item"> 6. <a href="http://hk.voidcc.com/question/p-pvbxenwv-qb.html" target="_blank" title="jQuery的輸入掩碼保持佔位符文本"> jQuery的輸入掩碼保持佔位符文本 </a> </li> <li class="side_article_list_item"> 7. <a href="http://hk.voidcc.com/question/p-rhgvnlag-tp.html" target="_blank" title="HTML輸入自動填充佔位符"> HTML輸入自動填充佔位符 </a> </li> <li class="side_article_list_item"> 8. <a href="http://hk.voidcc.com/question/p-hefdtuwe-gt.html" target="_blank" title="佔位符HTML元素?"> 佔位符HTML元素? </a> </li> <li class="side_article_list_item"> 9. <a href="http://hk.voidcc.com/question/p-qvgastvs-pw.html" target="_blank" title="Pygtk入口占位符"> Pygtk入口占位符 </a> </li> <li class="side_article_list_item"> 10. <a href="http://hk.voidcc.com/question/p-fuavrwom-to.html" target="_blank" title="保持圖像佔位符,直到與.sortable下降"> 保持圖像佔位符,直到與.sortable下降 </a> </li> </ul> </div> </div> </div> </div> </div> </div> </div><!-- wrap end--> <!-- footer --> <footer id="footer"> <div class="bg-simple lt"> <div class="container"> <div class="row padder-v m-t"> <div class="col-xs-8"> <ul class="list-inline"> <li><a href="http://hk.voidcc.com/contact">聯系我們</a></li> <li>© 2020 HK.VOIDCC.COM</li> <li><a rel="nofollow" href="https://beian.miit.gov.cn/" target="_blank">沪ICP备13005482号-13</a></li> <li><script type="text/javascript" src="https://s9.cnzz.com/z_stat.php?id=1280098168&web_id=1280098168"></script></li> <li><a href="http://cn.voidcc.com/" target="_blank" title="程序问答园区">简体中文</a></li> <li><a href="http://hk.voidcc.com/" target="_blank" title="程序問答園區">繁體中文</a></li> <li><a href="http://ru.voidcc.com/" target="_blank" title="поле вопросов и ответов">Русский</a></li> <li><a href="http://de.voidcc.com/" target="_blank" title="Frage - und - antwort - Park">Deutsch</a></li> <li><a href="http://es.voidcc.com/" target="_blank" title="Preguntas y respuestas">Español</a></li> <li><a href="http://hi.voidcc.com/" target="_blank" title="कार्यक्रम प्रश्न और उत्तर पार्क">हिन्दी</a></li> <li><a href="http://it.voidcc.com/" target="_blank" title="IL Programma di chiedere Park">Italiano</a></li> <li><a href="http://ja.voidcc.com/" target="_blank" title="プログラム問答園区">日本語</a></li> <li><a href="http://ko.voidcc.com/" target="_blank" title="프로그램 문답 단지">한국어</a></li> <li><a href="http://pl.voidcc.com/" target="_blank" title="program o park">Polski</a></li> <li><a href="http://tr.voidcc.com/" target="_blank" title="Program soru ve cevap parkı">Türkçe</a></li> <li><a href="http://vi.voidcc.com/" target="_blank" title="Đáp ứng viên">Tiếng Việt</a></li> <li><a href="http://fr.voidcc.com/" target="_blank" title="Programme interrogation Park">Française</a></li> </ul> </div> </div> </div> </div> </div> </footer> <!-- / footer --> <script async src="https://www.googletagmanager.com/gtag/js?id=UA-77509369-5"></script> <script> window.dataLayer = window.dataLayer || []; function gtag() { dataLayer.push(arguments); } gtag('js', new Date()); gtag('config', 'UA-77509369-5'); </script> <script> var _hmt = _hmt || []; (function () { var hm = document.createElement("script"); hm.src = "https://hm.baidu.com/hm.js?67d4731349f0b00136755b80364ce381"; var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(hm, s); })(); </script> </body> </html>