我要建有小门网站。我有一个从主网页的ajaxlink打开一个模态窗口。现在的问题是,当我为了添加一个CSS到我的HTML code,使其更明显的吸引力,它停止工作。所以,现在,当我点击在打开的模态窗口的AjaxLink,什么也没有发生,我不明白为什么。任何想法??
I'm building a website with wicket. I have a modal window that opens from an ajaxlink from the main page. The problem is that when I added a CSS to my HTML code in order to make it more visible attractive, it stopped working. So now, when I click in the AjaxLink that opens the modal window, nothing happens and I can't figure out why. Any Ideas??
这是AjaxLink的code:
This is the code of the AjaxLink:
AjaxLink privacyLink = new AjaxLink<Void>("privacylink") {
@Override
public void onClick(AjaxRequestTarget target) {
// TODO Auto-generated method stub
modal2.show(target);
}
};
还有一个注释。这AjaxLink介绍,作为一个ListView的一部分,所以实际上有多个AjaxLinks。
One more comment. This AjaxLink is introduced as a part of a ListView, so actually there are multiple AjaxLinks.
我终于找到了解决办法!,这是jQuery的的,我用(1.4.2)的版本有问题,所以我只是把它改为1.5 .2它的工作!
I finally found the solution!!, It was a problem of the version of jQuery that I was using (1.4.2) so I just changed it to 1.5.2 and it worked!
上一篇:有没有一种方法来组合服务器绑定和Ajax绑定消除阿贾克斯绑定在剑道电网提出的额外要求吗?绑定、剑道、组合、电网
下一篇:我怎样才能改变DIV x的内容(使用Ajax)时自动另一个Ajax调用是由改变DIV y的内容是什么?内容、是由、DIV、Ajax