jquery dynamic id

后端 未结 4 1193
广开言路
广开言路 2021-01-06 08:56

i use such code to access item

function f(id){

$(\"#\"+id).val(); // with analogy $(\"#id item\")
}

is it correct? is any other methods?<

4条回答
提交回复
热议问题