开发者

operation with all inputs, without type="checkbox"

开发者 https://www.devze.com 2022-12-31 03:34 出处:网络
I want to do some operation with input elements in td. I used for this: 开发者_运维问答var inputElements = $(\'td > input\', row);

I want to do some operation with input elements in td. I used for this:

开发者_运维问答
            var inputElements = $('td > input', row);

            inputElements.each(function () {

               //some operation

            });

How can I except checkboxes?


Get all inputs in each cell, except checkboxes.

var inputElements = $('td > input:not(:checkbox)', row);
0

精彩评论

暂无评论...
验证码 换一张
取 消