I want to hide this warning div using javascript inside it.
I\'m i getting the javascript right? I want to hide/close the div when i click on the close icon (images/
HTML
Warning:These are new products Javascript: function hide(obj) { var el = document.getElementById(obj); el.style.display = 'none'; } 0 讨论(0) 查看其它4个回答 发布评论: 提交评论 加载中... 验证码 看不清? 提交回复
Javascript:
function hide(obj) { var el = document.getElementById(obj); el.style.display = 'none'; }