If everything was spit out as plain text it (and the range were reduced to 0~2) would look something like...
ii00 =?= ce00
ii10 =?= ce00
ii20 =?= ce00
ii00 =?= ce10
ii10 =?= ce10
ii20 =?= ce10
ii00 =?= ce20
ii10 =?= ce20
ii20 =?= ce20
However the code below currently alerts as so (reduced to 2 from 26 to make it a little less obnoxious for testing purposes)...
ii00 =?= ce00
ii10 =?= ce10
ii20 =?= ce20
ii30 =?= ce30
ii40 =?= ce40
ii50 =?= ce50
The main issue to take in to consideration is that the numerical position is relative, not absolute. That means the variable ii00 might match ce40. So every ii variable must be compared against every ce variable. Of course I can return once a match is found.
Also keep in mind that the ending 0 in each variable marks it as containing a type of string variable (it's intentionally there and while it should be included it should be ignored).
However I'm feeling a bit clueless of how to execute this. Keep in mind I only want to alert this stuff right now so I can visually ensure everything is cross comparing as desired.
Here is my current script...
Code: Select all
function fill_values(){ for (var i=0; i<2; i++) //26 { var the_selector = i; alert('ii' + the_selector + '0 =?= ' + 'ce' + i+ + '0'); }}