Bug Tracker

Opened 6 years ago

Closed 6 years ago

#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:
Blocked by: Blocking:


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 (3)

comment:1 Changed 6 years ago by coednaked

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

comment:2 Changed 6 years ago by coednaked

DELETE this post, was only my ignorance.

comment:3 Changed 6 years ago by john

  • Resolution set to invalid
  • Status changed from new to closed
Note: See TracTickets for help on using tickets.