javascript - Opera: trouble with adding 'list' attribute -
today i've decided add html5 datalist input via user script. here's code. problem list
attribute isn't added. if change different list
, lst
- it's there.
is supposed so? such behaviour set specification or browser?
ok, did research on this.
spec says input.list
returns related datalist object, not attribute value. should use setattribute('list','edit-subject-themes')
on input, works fine. seems jquery issue.
with problem solved, i'll sure use technique in user javascript lot :)
Comments
Post a Comment