I am using it after an ajax request. I think it might be a bug, that
probably will get fixed in 1.3.3. Did you test in Safari, FF, or IE?
I am searching through the bug tracker right now.
On May 21, 5:31 pm, aquaone aqua...@gmail.com wrote:
It works fine for me. Does your actual script block
$(test) should be $(#test).
aquaone
On Wed, May 20, 2009 at 17:44, sean shaha...@gmail.com wrote:
I have the following code:
div id=test
div class=ajaxApplyIgnore
spana href=javascript:ajaxApplyAll(); class=Test1/a/
span
/div
div
spana href=/Logout class=Logout/a/span
There was no need to use find()
$(function() {
});
would be required from jquery
(.myclass, obj) is select my class from within my object ( no need to use
.find() )
script
$(function() { // you need this
var obj = (#test); // object refference
$(.ajaxApplyIgnore , obj).addClass(red); // select
That works, yes, but it would create a new jQuery object, defeating much of
the purpose of him creating 'obj' in the first place (memory and processing
time of creating new jQuery object).
As an aside, many devs find it useful to prefix vars for jQuery objects with
$.
e.g. var $obj = $(#test);
I forgot the '#' sign in the sample code I provided.
The problem I am having is that the code does not work. For some
reason, If i remove the span tags, it works, but keeping them in
makes it not work.
It works fine for me. Does your actual script block contain a
$(document).ready(function(){ ... }); ?
On Thu, May 21, 2009 at 16:49, sean shaha...@gmail.com wrote:
I forgot the '#' sign in the sample code I provided.
The problem I am having is that the code does not work. For some
reason,
6 matches
Mail list logo