why jquery can't be used in my $(document).ready() function?
Posted
by
Firegun
on Stack Overflow
See other posts from Stack Overflow
or by Firegun
Published on 2012-11-19T04:55:36Z
Indexed on
2012/11/19
5:00 UTC
Read the original article
Hit count: 141
JavaScript
|jQuery
The page can be viewed at
http://cistrome.org/cps/seqconfig?did=2693
When load in Firebugs, it gives me this error:
TypeError: $(".open_gene").on is not a function
[Break On This Error]
$(".open_gene").on('change', function(event) {
However, if I type in this expression in Firebug's console, it can be evaluated as a function without any problems:
>>> $(".open_gene").on
function()
I was wondering what might be the reason to cause this issue. Does anyone have ideas about this? Thanks!
© Stack Overflow or respective owner