If this application performed synchronous communications with SQLite, I would simply add onclick attributes to both items, like so: c.setAttribute('onclick' ...
確定! 回上一頁