getElementById : IE Issues
This question already has an answer here:
HTML4 doesn't allow slashed as mentioned in this definition:
ID and NAME tokens must begin with a letter ([A-Za-z]) and may be followed by any number of letters, digits ([0-9]), hyphens ("-"), underscores ("_"), colons (":"), and periods (".").
IE still enforces that standard.
If you want to use the url, rather store the url in a data-url
attribute.
上一篇: 命名分区ID我想要的任何东西
下一篇: getElementById:IE问题