tegskywalker — 2010-07-13T17:09:57-04:00 — #1
felgall — 2010-07-13T17:40:34-04:00 — #2
Of course an id MUST start with a letter so all these examples using numbers are completely invalid.
bimalpoudel — 2010-07-13T20:40:24-04:00 — #3
Confused with DOM's ID property and City ID?
raffles — 2010-07-13T18:03:54-04:00 — #4
Good point, forgot about that.
This does beg the question, why do you even need to pass the ID? A name/value pair should be enough.
raffles — 2010-07-13T17:33:47-04:00 — #5
The easies thing, of course, is to simply include it in the value. If the value was "Moscow", you can turn it into "Moscow_346215" and then use PHP to split that into the city name and the ID.