- <html>
- <head>
- <script src1="prototype.js"></script>
- <script src1="jquery.js"></script>
- <script>
- jQuery.noConflict();
- // Use jQuery via jQuery(...)
- jQuery(document).ready(function(){
- jQuery("div").hide();
- });
- // Use Prototype with $(...), etc.
- $('someid').hide();
- </script>
- </head>
- <body></body>
- </html>
- //该片段来自于http://www.codesnippet.cn/detail/040320132289.html
来源: http://www.codesnippet.cn/detail/040320132289.html