专注收集记录技术开发学习笔记、技术难点、解决方案
网站信息搜索 >> 请输入关键词:
您当前的位置: 首页 > Ruby/Rails

代码看不懂?该如何处理

发布时间:2011-06-29 18:42:41 文章来源:www.iduyao.cn 采编人员:星星草
代码看不懂?
<script type="text/javascript">
//<![CDATA[
new Form.Element.EventObserver('sip_endpoint_profile_always_send_to_proxy', function(element, value) {observe_always_send_to_proxy(element,value);})
//]]>
</script>
<script type="text/javascript">
//<![CDATA[
observe_always_send_to_proxy(
$('sip_endpoint_profile_always_send_to_proxy'),$F('sip_endpoint_profile_always_send_to_proxy'), true);
//]]>

sip_endpoint_profile_always_send_to_proxy是一个check的ID,EventObserver应该是bind一个call back,我不确定是不是有默认的动作oncheck可以触发observe_always_send_to_proxy,但是observe_always_send_to_proxy(
$('sip_endpoint_profile_always_send_to_proxy'),$F('sip_endpoint_profile_always_send_to_proxy'), true); 也看不懂,$, $F什么意思?怎么没有定义的?
这段代码是ruby生成的,是不是要到controller里面去找啊?分数不多了

------解决方案--------------------
learned.
友情提示:
信息收集于互联网,如果您发现错误或造成侵权,请及时通知本站更正或删除,具体联系方式见页面底部联系我们,谢谢。

其他相似内容:

热门推荐: