Lotus Notes-标题中的Jquery文件 [英] Lotus Notes -- Jquery File in Header

查看:129
本文介绍了Lotus Notes-标题中的Jquery文件的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我将jQuery文件作为文件资源包含在我的Notes数据库中

I Included the jQuery files as file resource in my notes database

问题:我无法弄清楚如何在尝试使用jquery的表单中引用这些文件.

Problem: I cant figure out how do I refer to these files in my form in which I am trying to use jquery in.

我在HTMLHeader中尝试过此操作

I tried this in the HTMLHeader:

<script type='text/javascript' src='/jquery-min.js'></script> 
<script type='text/javascript' src='/" + @WebDbName + "/jquery-min.js'></script>

推荐答案

首先,您需要将公式放在隐藏的,计算得出的名为$$HTMLHead的显示字段中;注意两个美元符号.

First, you need to put the formula in a hidden, computed for display field named $$HTMLHead; notice the two dollar signs.

该字段中的公式应为

"<script type=\"text/javascript\" src=\"/" + @WebDbName+ "/jquery-min.js\"></script>"

它也可以在domcfg.nsf中的$$ ChangePasswordForm中使用.我使用了HTML Head Content属性.您是否检查了文件名(点和破折号)?

It also works in $$ChangePasswordForm in domcfg.nsf. I used HTML Head Content property. Did you check the filename (dots and dashes)?

这篇关于Lotus Notes-标题中的Jquery文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆