⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 string.html

📁 ajax开发框架prototype中文说明帮助
💻 HTML
📖 第 1 页 / 共 4 页
字号:
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#sup()">sup</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把 HTML &lt;SUP> 标记放置在 String 对象中的文本两端</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Number.</B><B><A HREF="../../../../net/conic/prototype/Number.html#toColorPart()">toColorPart</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;等同于toString(16),将数值类型以十六进制的字符串形式返回</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#toLowerCase()">toLowerCase</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回一个字符串,该字符串中的字母被转换为小写字母。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Hash.</B><B><A HREF="../../../../net/conic/prototype/Hash.html#toQueryString()">toQueryString</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;将hash对象以querystring的形式返回</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Object.</B><B><A HREF="../../../../net/conic/prototype/Object.html#toString(int)">toString</A></B>(int&nbsp;radix)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#toUpperCase()">toUpperCase</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回一个字符串,该字符串中的字母被转换为小写字母。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#unescape(net.conic.prototype.String)">unescape</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;charstring)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;解码用 escape 方法进行了编码的 String 对象</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#unescapeHTML()">unescapeHTML</A></B>()</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;按照HTML标准的将字符串的值返回,如<变成<code>&lt;</code>。</TD>
</TR>
</TABLE>
&nbsp;
<P>

<TABLE BORDER="1" WIDTH="100%" CELLPADDING="3" CELLSPACING="0" SUMMARY="">
<TR BGCOLOR="#CCCCFF" CLASS="TableSubHeadingColor">
<TH ALIGN="left" COLSPAN="2">参数类型为 <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A> 的 <A HREF="../../../../net/conic/prototype/package-summary.html">net.conic.prototype</A> 中的方法</FONT></TH>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#$F(net.conic.prototype.String)">$F</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;id)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;取得表单对象值的快捷方式引用 <b>Example:</b>&lt;script>        function test3()        {                alert(  $F('userName')  );        }&lt;/script>&lt;input type="text" id="userName" value="Joe Doe">&lt;br> &lt;input type="button" value=Test3 onclick="test3();">&lt;br> </TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#anchor(net.conic.prototype.String)">anchor</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;anchorName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;创建HTML标准的&lt;A>对象</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#concat(net.conic.prototype.String)">concat</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;string2)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回一个 String 对象,该对象包含了两个提供的字符串的连接</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#escape(net.conic.prototype.String)">escape</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;charstring)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对 String 对象编码以便它们能在所有计算机上可读</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>Global.</B><B><A HREF="../../../../net/conic/prototype/Global.html#eval(net.conic.prototype.String)">eval</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;codeString)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;检查 JScript 代码并执行.</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A></CODE></FONT></TD>
<TD><CODE><B>Event.</B><B><A HREF="../../../../net/conic/prototype/Event.html#findElement(net.conic.prototype.JSEvent, net.conic.prototype.String)">findElement</A></B>(<A HREF="../../../../net/conic/prototype/JSEvent.html" title="net.conic.prototype 中的接口">JSEvent</A>&nbsp;event,
            <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;tagName)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;以event源对象为起始对象,逐步向上搜索DOM树,查找与tagName相匹配的第一个的DOM对象</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#fontcolor(net.conic.prototype.String)">fontcolor</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;color)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把带有 COLOR 属性的一个 HTML &lt;FONT> 标记放置在 String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#indexOf(net.conic.prototype.String, int)">indexOf</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;substring,
        int&nbsp;startIndex)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回 String 对象内第一次出现子字符串的字符位置。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/Array.html" title="net.conic.prototype 中的类">Array</A></CODE></FONT></TD>
<TD><CODE><B>Enumerable.</B><B><A HREF="../../../../net/conic/prototype/Enumerable.html#invoke(net.conic.prototype.String, net.conic.prototype.Object...)">invoke</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;method,
       <A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>...&nbsp;arguments)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对象内部每一元素取得自身的method内容的function,并将自身的值与arguments传入执行.将执行结果的集合返回。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>Array.</B><B><A HREF="../../../../net/conic/prototype/Array.html#join(net.conic.prototype.String)">join</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;separator)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回一个 String 对象,这个字符串对象是由整个数组的所有元素连接在一起而形成的。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;int</CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#lastIndexOf(net.conic.prototype.String, int)">lastIndexOf</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;substring,
            int&nbsp;startIndex)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;返回 String 对象内第一次出现子字符串的字符位置。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>&nbsp;<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A></CODE></FONT></TD>
<TD><CODE><B>String.</B><B><A HREF="../../../../net/conic/prototype/String.html#link(net.conic.prototype.String)">link</A></B>(<A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;href)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;把一个有 HREF 属性的 HTML 锚点放置在 String 对象中的文本两端。</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">
<TD ALIGN="right" VALIGN="top" WIDTH="1%"><FONT SIZE="-1">
<CODE>static&nbsp;void</CODE></FONT></TD>
<TD><CODE><B>Event.</B><B><A HREF="../../../../net/conic/prototype/Event.html#observe(net.conic.prototype.Object, net.conic.prototype.String, net.conic.prototype.Function, boolean)">observe</A></B>(<A HREF="../../../../net/conic/prototype/Object.html" title="net.conic.prototype 中的类">Object</A>&nbsp;element,
        <A HREF="../../../../net/conic/prototype/String.html" title="net.conic.prototype 中的类">String</A>&nbsp;name,
        <A HREF="../../../../net/conic/prototype/Function.html" title="net.conic.prototype 中的类">Function</A>&nbsp;observer,
        boolean&nbsp;useCapture)</CODE>

<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;对指定的element注册evnet的obsever(Obsever Design Pattern)</TD>
</TR>
<TR BGCOLOR="white" CLASS="TableRowColor">

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -