Threaded View
-
13 Nov 2012 2:32 AM #1
use ext to creat the html,but jquery $(".class") is null
use ext to creat the html,but jquery $(".class") is null
I use ext to creat my html in a panel,then I want to control it with jquery
first I write the code in my <script>,
then, I use jqueryCode:Ext.onReady(function(){ varleftNavHtml = '<body><div id="sidebar">'; leftNavHtml += '<div class="trees">' leftNavHtml += '<div class="tree">' leftNavHtml += '<div class="name">' ...
but the console message is $("#sidebar .trees .name") is nullCode:$("#sidebar .trees .name").toggle(function(){...
can anyone help me?


Reply With Quote