[jQuery] prob with the jquery selector
hello everyone,
maybe this problem is not a new one,but i
want to make sure.when i use $('#'+id) to choose an element in the dom
tree to operate on,it failed when the id is in the form of
abc[xyz].code like below:
html code:
<input id='abc[xyz]' value='just a test' />
js:
temp = $('#'+'abc[xyz]').val();
it failed.
--
Xinhao Zheng
SGL中文文档: <a href="http://wiki.cjcht.com">http://wiki.cjcht.com</a>
SGL中文Group:<a href="http://groups.google.com/group/seagull_forum">http://groups.google.com/group/seagull_forum</a>