06 2012 档案
摘要:html页面使用embed嵌入*.svg,页面上使用js函数可不可以调用svg内部的js函数?可以,在*.svg中嵌入的js函数上加一句top.*=*,就可以在html页中使用该函数了,例如:top.show=show;function show(){alert('welcome');}在HTML中调用SVG中的JS,要注意要在<embed />载入后调用,可以写在<embed />的onload事件中
阅读全文
摘要:customer表中有一列integral,我想当integral列大于50小于200时,lev为1,integral大于200小于500时,lev为2,大于500时lev为3我编了一个触发器,可是总提示出错,我把我的源码提供出来,希望万能的百度帮我解决create trigger levon customerfor updateas if integral>50 and integral<200beginupdate customerset lev=1endelse if integral>200 and integral<500beginupdate custome
阅读全文
摘要:Oracle 10G -- 增强的CONNECT BY子句用工厂模式开发多数据库连接类如何用js判断document里的一个对象是否存在?或是是否有效2008-03-28 16:32:11|分类: js |标签: |字号大中小订阅问:比如我想用js判断id为“tx”的<tr>对象是否存在或是否有效。该怎么判断呢。谢谢______________________________________________________________________________________________答1:<SCRIPT LANGUAGE="JavaScript&q
阅读全文
浙公网安备 33010602011771号