For faster navigation, this Iframe is preloading the Wikiwand page for Prototype JavaScript框架.

Prototype JavaScript框架

此条目没有列出任何参考或来源。 (2017年5月10日)维基百科所有的内容都应该可供查证。请协助补充可靠来源改善这篇条目。无法查证的内容可能会因为异议提出而被移除。
Prototype
原作者Sam Stephenson
开发者Prototype核心团队
首次发布2005年2月,​19年前​(2005-02
当前版本
  • 1.7.3 (2015年9月23日)[1]
编辑维基数据链接
原始码库 编辑维基数据链接
编程语言JavaScript
类型JavaScript函式库
许可协议MIT许可证
网站prototypejs.org

Prototype JavaScript Framework是由Sam Stephenson所开发的JavaScript框架。它提供了完整的Ajax框架及其它的工具。它的实现完全包含在一个单一的prototype.js文件中。被应用于Ruby on Rails、script.aculo.us和Rico等。

应用示例

$()函数

  • 例如:
 document.getElementById("id_of_element").style.color = "#ffffff";
  • 在使用prototype.js的$()函数之后,可被简化为:
   $("id_of_element").setStyle({color: '#ffffff'});

参考文献

  1. ^ Release 1.7.3. 2015年9月23日 [2018年7月22日]. 

外部链接

{{bottomLinkPreText}} {{bottomLinkText}}
Prototype JavaScript框架
Listen to this article

This browser is not supported by Wikiwand :(
Wikiwand requires a browser with modern capabilities in order to provide you with the best reading experience.
Please download and use one of the following browsers:

This article was just edited, click to reload
This article has been deleted on Wikipedia (Why?)

Back to homepage

Please click Add in the dialog above
Please click Allow in the top-left corner,
then click Install Now in the dialog
Please click Open in the download dialog,
then click Install
Please click the "Downloads" icon in the Safari toolbar, open the first download in the list,
then click Install
{{::$root.activation.text}}

Install Wikiwand

Install on Chrome Install on Firefox
Don't forget to rate us

Tell your friends about Wikiwand!

Gmail Facebook Twitter Link

Enjoying Wikiwand?

Tell your friends and spread the love:
Share on Gmail Share on Facebook Share on Twitter Share on Buffer

Our magic isn't perfect

You can help our automatic cover photo selection by reporting an unsuitable photo.

This photo is visually disturbing This photo is not a good choice

Thank you for helping!


Your input will affect cover photo selection, along with input from other users.

X

Get ready for Wikiwand 2.0 🎉! the new version arrives on September 1st! Don't want to wait?