Now more difficult (for me).
I need a code for every xef element of child symbols created dynamically:
But this code must be different for every instance of symbol, for example when click on xef <div> that show name of chef or when click on xef <div> show dates element.
I don't know how to access to a dates <div> element, if I try:
sXef.$("xef").click(
function onClickXef(evt){
dates.show();
});
then:
Uncaught ReferenceError: dates is not defined index_edgeActions.js:123
onClickXef
x.event.dispatch
y.handle
If I try something stupid like:
sXef.$("xef").click(
function onClickXef(evt){
this.parent().dates.show();
});
then:
Uncaught TypeError: undefined is not a function
And for the names of the chefs do not even know where to start, they are in array of objects (fXefs[5].nom for example). Can I to construct a string with the function for to assign to event or something?