'MappingInfo=txtinfo,txtinfo,-1,TextPublic Property Get GetInfo() As StringGetInfo = txtinfo.TextEnd PropertyPublic Property Let GetInfo(ByVal New_GetInfo As String)txtinfo.Text() = New_GetInfoPropertyChanged "GetInfo"End PropertyPrivate Sub Command1_Click()Label2.Caption = GetInfo()End Sub'从存贮器中加载属性值Private Sub UserControl_ReadProperties(PropBag As PropertyBag)txtinfo.Text = PropBag.ReadProperty("GetInfo", "Text1")End Sub'将属性值写到存储器Private Sub UserControl_WriteProperties(PropBag As PropertyBag)End SubCall PropBag.WriteProperty("GetInfo", txtinfo.Text, "Text1")End Sub
上面一段是一个密码输入控件的代码,我想请教高手,把该密码控件放入jsp页面,如何用js获取和存储数据就如支付宝的密码输入框,小弟在此谢了!JS改怎么写?
<HTML> 
</HEAD> <BODY> <OBJECT ID="GetClient" WIDTH=507 HEIGHT=440 CLASSID="CLSID:56DFCA88-F5B8-4879-853B-97FE504423FD" CODEBASE="http://localhost/xml/fOcx.ocx"> </OBJECT> </BODY> </HTML>