Hello,

with jQuery, you can use a context for the selectors:

  jq('selector', context)

...where context can be DOM Element, Document or jQuery.

Is there a way to do that with KSS?

I was thinking in something along these lines:

  core.replaceInnerHTML('selector', 'content',
                        context="frames['frame-name'].document")

My usecase is: you click in a checkbox and it replaces the content
of a kupu field with another text. The main problem is that kupu
fields use an iframe, and thus normal KSS selectors can't match
the iframe content... :-/

Is that possible or am I missing something here?

-- 

Dorneles Treméa
X3ng Web Technology
http://nosleepforyou.blogspot.com

_______________________________________________
Kss-devel mailing list
[email protected]
http://codespeak.net/mailman/listinfo/kss-devel

Reply via email to