Modify ↓
Ticket #6128 (closed bug: invalid)
Cannot reference a variable
| Reported by: | coednaked | Owned by: | |
|---|---|---|---|
| Priority: | Milestone: | 1.4.2 | |
| Component: | unfiled | Version: | 1.4.1 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
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
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

sorry... document.getElementById(_Ele) ; works