JS Array Help
JS Array Help
Out of context: Reply #2
- Started
- Last post
- 5 Responses
- Stugoo0
sorry do you mean like chaining the name like :
query .results .quote[i] .BidRealtime
to get the BidRealtime value?
or do you mean like adding a custom class or data attribute to each output, so that you can target it later?If it is the latter, I would store the result in an array on the DOM so that you can use it later. Or use a name that does something like
var UID = query .results .quote[i] .Name .split(' ') .join();Does that make sense?