jQuery - how can I find the element with a certain id?

后端 未结 5 1853
故里飘歌
故里飘歌 2020-12-25 11:42

I have a table and each of its td has a unique id that corresponds to some time intervals (0800 til 0830... 083

5条回答
  •  梦毁少年i
    2020-12-25 11:56

    As all html ids are unique in a valid html document why not search for the ID directly? If you're concerned if they type in an id that isn't a table then you can inspect the tag type that way?

    Just an idea!

    S

提交回复
热议问题