久久久久久久av_日韩在线中文_看一级毛片视频_日本精品二区_成人深夜福利视频_武道仙尊动漫在线观看

    <legend id='7Arf3'><style id='7Arf3'><dir id='7Arf3'><q id='7Arf3'></q></dir></style></legend>
    <i id='7Arf3'><tr id='7Arf3'><dt id='7Arf3'><q id='7Arf3'><span id='7Arf3'><b id='7Arf3'><form id='7Arf3'><ins id='7Arf3'></ins><ul id='7Arf3'></ul><sub id='7Arf3'></sub></form><legend id='7Arf3'></legend><bdo id='7Arf3'><pre id='7Arf3'><center id='7Arf3'></center></pre></bdo></b><th id='7Arf3'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='7Arf3'><tfoot id='7Arf3'></tfoot><dl id='7Arf3'><fieldset id='7Arf3'></fieldset></dl></div>

    <small id='7Arf3'></small><noframes id='7Arf3'>

      • <bdo id='7Arf3'></bdo><ul id='7Arf3'></ul>
      <tfoot id='7Arf3'></tfoot>

      1. 多個元素上的一個 jQuery 更改事件

        One jQuery Change Event on Multiple Elements(多個元素上的一個 jQuery 更改事件)
        <legend id='y2JTt'><style id='y2JTt'><dir id='y2JTt'><q id='y2JTt'></q></dir></style></legend>
      2. <small id='y2JTt'></small><noframes id='y2JTt'>

              <tfoot id='y2JTt'></tfoot>

            • <i id='y2JTt'><tr id='y2JTt'><dt id='y2JTt'><q id='y2JTt'><span id='y2JTt'><b id='y2JTt'><form id='y2JTt'><ins id='y2JTt'></ins><ul id='y2JTt'></ul><sub id='y2JTt'></sub></form><legend id='y2JTt'></legend><bdo id='y2JTt'><pre id='y2JTt'><center id='y2JTt'></center></pre></bdo></b><th id='y2JTt'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='y2JTt'><tfoot id='y2JTt'></tfoot><dl id='y2JTt'><fieldset id='y2JTt'></fieldset></dl></div>
                <tbody id='y2JTt'></tbody>
                <bdo id='y2JTt'></bdo><ul id='y2JTt'></ul>

                • 本文介紹了多個元素上的一個 jQuery 更改事件的處理方法,對大家解決問題具有一定的參考價值,需要的朋友們下面隨著小編來一起學習吧!

                  問題描述

                  我有 3 個文本框,它們都具有相同的 id,我通過將其放入控制器數(shù)組中處理到 ASP 中

                  I have 3 textboxes, all with the same id's that I process into ASP by bringing it into a controller array

                  我有一個鏈接,可以在前 3 個下方添加無限數(shù)量的文本框.

                  I have a link that adds an unlimited number of textboxes below the first 3.

                  我目前的變更聲明:

                      $('input.#invent').change(function () {
                  

                  適用于第一個文本框上的更改事件,但是具有相同信息的其他人在更改時不會觸發(fā)它

                  works fine for the change event on the first textbox, but the others with the same information do not fire it when changed

                  當任何 3 個以上的文本框發(fā)生更改時,觸發(fā)更改事件的最佳策略是什么??

                  What is the best strategy for getting the change event to fire when any of the 3+ textboxes change??

                  推薦答案

                  將 ID 為 #invent 的所有三個元素改為一個類(ID 的 必須是唯一的),否則它只適用于第一個元素,比如什么您的情況目前正在發(fā)生.

                  Change all three elements with the #invent ID to a class instead (ID's must to be unique), or it's only going to work for the first element, like what's currently happening in your case.

                  然后,您可以定位所有具有 .invent 類的元素:

                  Then, you can target all of the elements that have the .invent class:

                  $('input.invent').change(function () {
                     // Here, $(this) refers to the specific element of the .invent class which 'changed'
                  }):
                  

                  詳細了解 ID 和類選擇器之間的區(qū)別這里.

                  Read more about the difference between ID and Class selectors here.

                  這篇關于多個元素上的一個 jQuery 更改事件的文章就介紹到這了,希望我們推薦的答案對大家有所幫助,也希望大家多多支持html5模板網(wǎng)!

                  【網(wǎng)站聲明】本站部分內容來源于互聯(lián)網(wǎng),旨在幫助大家更快的解決問題,如果有圖片或者內容侵犯了您的權益,請聯(lián)系我們刪除處理,感謝您的支持!

                  相關文檔推薦

                  Browser waits for ajax call to complete even after abort has been called (jQuery)(即使在調用 abort (jQuery) 之后,瀏覽器也會等待 ajax 調用完成)
                  JavaScript innerHTML is not working for IE?(JavaScript innerHTML 不適用于 IE?)
                  XMLHttpRequest cannot load, No #39;Access-Control-Allow-Origin#39; header is present on the requested resource(XMLHttpRequest 無法加載,請求的資源上不存在“Access-Control-Allow-Origin標頭) - IT屋-程序員軟件開發(fā)技術分
                  What is the difference between XMLHttpRequest, jQuery.ajax, jQuery.post, jQuery.get(XMLHttpRequest、jQuery.ajax、jQuery.post、jQuery.get 有什么區(qū)別)
                  Can onprogress functionality be added to jQuery.ajax() by using xhrFields?(可以使用 xhrFields 將 onprogress 功能添加到 jQuery.ajax() 嗎?)
                  Show a progress bar for downloading files using XHR2/AJAX(顯示使用 XHR2/AJAX 下載文件的進度條)
                  • <bdo id='h3xuL'></bdo><ul id='h3xuL'></ul>
                      <tbody id='h3xuL'></tbody>
                      1. <tfoot id='h3xuL'></tfoot>

                            <legend id='h3xuL'><style id='h3xuL'><dir id='h3xuL'><q id='h3xuL'></q></dir></style></legend>
                            <i id='h3xuL'><tr id='h3xuL'><dt id='h3xuL'><q id='h3xuL'><span id='h3xuL'><b id='h3xuL'><form id='h3xuL'><ins id='h3xuL'></ins><ul id='h3xuL'></ul><sub id='h3xuL'></sub></form><legend id='h3xuL'></legend><bdo id='h3xuL'><pre id='h3xuL'><center id='h3xuL'></center></pre></bdo></b><th id='h3xuL'></th></span></q></dt></tr></i><div class="qwawimqqmiuu" id='h3xuL'><tfoot id='h3xuL'></tfoot><dl id='h3xuL'><fieldset id='h3xuL'></fieldset></dl></div>

                          • <small id='h3xuL'></small><noframes id='h3xuL'>

                            主站蜘蛛池模板: 成人免费一区二区三区视频网站 | 中文字幕综合在线 | 成人免费在线网 | 国产蜜臀97一区二区三区 | 国产综合在线视频 | 欧美日韩精品中文字幕 | 嫩草网| 国产福利精品一区 | 亚洲性视频网站 | 国产精品一区二区日韩 | 91成人免费看片 | 久久久久久久久99精品 | 香蕉二区| 国产精品欧美一区二区三区不卡 | 91久久精品国产 | 日韩av资源站 | 成人av激情 | 久久99深爱久久99精品 | 免费在线观看一区二区三区 | 日韩av最新网址 | 成人性生交大片免费看中文带字幕 | 亚洲电影第三页 | 午夜天堂精品久久久久 | 91精品国产91久久久久久 | 国产精品一区二区三区四区 | 四色永久 | 亚洲成人久久久 | 国内精品视频一区二区三区 | 精品免费观看 | 免费久久99精品国产婷婷六月 | 欧美日韩电影一区二区 | 久久99精品久久久 | 在线观看日韩 | 欧美午夜精品久久久久久浪潮 | 日美女逼逼| 久久成人精品一区二区三区 | 一区二区国产精品 | 日韩精品久久一区 | 91av在线免费播放 | 国产精品自拍视频 | 欧美一卡二卡在线观看 |