jquery dynamic id

Posted by kusanagi on Stack Overflow See other posts from Stack Overflow or by kusanagi
Published on 2010-05-24T07:52:53Z Indexed on 2010/05/24 8:01 UTC
Read the original article Hit count: 323

Filed under:
|

i use such code to access item

function f(id){

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

is it correct? is any other methods?

© Stack Overflow or respective owner

Related posts about JavaScript

Related posts about jQuery