Side navigation
#6128 closed bug (invalid)
Opened February 19, 2010 07:36PM UTC
Closed February 26, 2010 05:55PM UTC
Cannot reference a variable
Reported by: | coednaked | Owned by: | |
---|---|---|---|
Priority: | Milestone: | 1.4.2 | |
Component: | unfiled | Version: | 1.4.1 |
Keywords: | Cc: | ||
Blocked by: | Blocking: |
Description
Not sure if it is a bug or not since I am new to JQuery:
var _Ele = 'l_div';
document.getElementById('#' + _Ele) ; works
$('#' + _Ele); does not work
sorry... document.getElementById(_Ele) ; //works