在一次开发过程中,针对数据查询操作时,为了能使用户进行多条件组合查询,用JS进行动态地创建对应的INPUT元素,不需要时,可以针对所选择的当前元素表示的条件进行删除.
代码:”<a href=’javascript:del_row(this)’>删除此条件</a>”,操作时,无任何反应,将此代码变成”<input type=’button’ onclick=’del_row(this)’ />”却正常通过。弄了半天,原来这是因为”<a href=”javascript:del_row(this)”>删除此条件</a>”是代表window对象,而不是A标签对象本身.如果不想用input代替A标签所实现的功能,应该将”<a href=’javascript:del_row(this)’>删除此条件</a>”改写成:”<a href=’#’ onclick=’del_row(this)’>删除此条件</a>”。
While looking for a light fixture I found this website do you know anything about http://www.lamps-lighting.com/Kichler-Lighting/76124SZ.html a picture of it is on this site Kichler Lighting 76124SZ -2370 Sedona Bronze
anyone?