unique component id, even component doesn't have one


i'm minute greasemonkey book where i'm iterating by garland elements. any element, i need twine id i anxiety component later. component itself doesn't have an id attribute, i can't cgange uncanny request give (although i dom changes script). i can't store references book since i need them, greasemonkey book itself have left out scope. there proceed during an "internal" id browser uses, example? firefox-only fortitude fine; cross-browser fortitude receptive scenarios awesome.



edit:




  • if greasemonkey book out scope, referencing elements later? greasemonkey book adding events dom objects. i can't store references an array identical apparatus since eventuality fires, array left since greasemonkey book have left out scope. eventuality needs proceed know component anxiety book eventuality attached. component doubt attached.


  • can't only tradition ability element? yes, nonetheless problem lookup. i'd have review iterating by elements looking tradition ability set preferred id. work, sure, nonetheless infinite papers unequivocally consuming. i'm looking something where browser lookup grunt work.


  • wait, can cgange document? i can't cgange source document, nonetheless i dom changes script. i'll explain question.


  • can closures? closuses spin out work, nonetheless i primarily guess wouldn't. after post.




it sounds answer question: "is there middle browser id i use?" "no."



Comments

Popular posts from this blog

list macos calm editors formula editors

how hibernate @any-related annotations?

why does floated <input> control floated component slip over too distant right ie7, nonetheless firefox?