Skip to main content

Bug Tracker

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

Attachments (0)
Change History (3)

Changed February 22, 2010 02:52PM UTC by coednaked comment:1

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

Changed February 24, 2010 02:03PM UTC by coednaked comment:2

DELETE this post, was only my ignorance.

Changed February 26, 2010 05:55PM UTC by john comment:3

resolution: → invalid
status: newclosed