jquery selecting a selector with namespaced element

Posted by Val on Stack Overflow See other posts from Stack Overflow or by Val
Published on 2010-01-12T07:49:03Z Indexed on 2010/03/19 15:01 UTC
Read the original article Hit count: 188

Filed under:
|
|

how would i select the following in jquery <ns:text value="my value" />

i have tried selecting it like so: 1:

var x= $('ns:text').attr('value'); 
return x;

2:

var x= $('text').attr('value'); 
return x;

but nothing so far... i don't know if it is possible or not but ...

Thanks

© Stack Overflow or respective owner

Related posts about jQuery

Related posts about selector