var target=jQuery('#'+here.id.replace(/ /g,'\040')+' .'+targetClass)
[0];
Apparently, jQuery() can't handle the spaces. But
document.getElementById() does! Thus, you could write
var target=document.getElementById(here.id);
Of course, by definition, this will result in target == here... and
since you already have the value of 'here', you don't even need to do
the above line to get the desired element. In addition, because you
are really trying to retrieve an element contained within 'here' that
has a given classname, you can actually just write the following:
var target=here.getElementsByClassName(targetClass)[0];
enjoy,
-e
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"TiddlyWiki" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/TiddlyWiki?hl=en
-~----------~----~----~----~------~----~------~--~---