xzknet 发表于 2013-2-7 16:42:09

关于html中script和ActiveX交互的问题

<div style="padding-right: 5.4pt; padding-left: 5.4pt; background: #e6e6e6; padding-bottom: 4px; width: 95%; padding-top: 4px;">http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif<html>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif    
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <head>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <meta   http-equiv="Content-Type"   content="text/html;   charset=gb2312">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <title>日历控件</title>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  </head>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif    
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <body>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <OBJECT   id=dtPicker   style="FONT-SIZE:   12px;   LEFT:   0px;   WIDTH:   110px;   FONT-FAMILY:   宋体;   TOP:   0px;   HEIGHT:   20px"     
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  codeBase=http://activex.microsoft.com/controls/vb6/MSComCt2.cab   classid="clsid:20DD1B9E-87C4-11D1-8BE3-0000F8754DA1">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="_ExtentX"   VALUE="2910">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="_ExtentY"   VALUE="529">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="_Version"   VALUE="393216">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="MousePointer"   VALUE="0">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="Enabled"   VALUE="1">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="OLEDropMode"   VALUE="0">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CalendarBackColor"   VALUE="-2147483643">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CalendarForeColor"   VALUE="-2147483630">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CalendarTitleBackColor"   VALUE="7798784">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CalendarTitleForeColor"   VALUE="16777215">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CalendarTrailingForeColor"   VALUE="7829367">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CheckBox"   VALUE="0">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CustomFormat"   VALUE="yyyy-MM-dd">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="DateIsNull"   VALUE="0">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="Format"   VALUE="662831107">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="UpDown"   VALUE="0">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="CurrentDate"   VALUE="37582.0927083333">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="MaxDate"   VALUE="2958465">   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <PARAM   NAME="MinDate"   VALUE="-109205"></OBJECT>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif    
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  <a   href="javascript:get_Date()">get_Date()</a>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gifhttp://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif  <script   FOR=dtPicker   EVENT=CloseUp>...   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif  alert(dtPicker.Year+"-"+dtPicker.Month+"-"+dtPicker.Day);   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif  </script>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockStart.gifhttp://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedBlock.gif  <script   language="javascript">...   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif  function   get_Date()   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockStart.gifhttp://images.csdn.net/syntaxhighlighting/OutliningIndicators/ContractedSubBlock.gif  ...{   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/InBlock.gif  alert(dtPicker.Year+"-"+dtPicker.Month+"-"+dtPicker.Day);   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedSubBlockEnd.gif  }   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/ExpandedBlockEnd.gif  </script>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  </body>   
http://images.csdn.net/syntaxhighlighting/OutliningIndicators/None.gif  </html>
页: [1]
查看完整版本: 关于html中script和ActiveX交互的问题