在dtree中调用Javascript函数 [英] Call Javascript function in dtree

查看:114
本文介绍了在dtree中调用Javascript函数的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好我是Javascript的新手,我想使用dtree但不是点击URL的节点我想调用另一个javascript函数


它是做什么的为了达到这个目的?如果是的话请帮助我并原谅我的无知


提前谢谢

解决方案

有没有人可以提供帮助我们这个?像pricter一样,我是初学者,并且不想搞砸。 dtree,其他人说非常好。我有一些想法,例如,如果url是空白的,做某事,或者调用嵌入了该功能的页面,但这些都不是正确。

谢谢。



您好我是Javascript的新手,我想使用dtree但不是点击URL的节点我想调用另一个javascript函数


为了达到这个目的,该怎么做?如果是,请帮助我并原谅我的无知


提前谢谢


欢迎来到剧本。


API 对于dtree。添加节点时,您可以指定URL。在那里,输入你的javascript,例如

展开 | 选择 | Wrap | 行号


太棒了!如此简单,当你知道如何。另一个经验教训;感谢。

Hi I am new to Javascript and I want to use dtree but instead of clicking on the nodes for URL I want to call a another javascript function

Is it something to do in order to achieve that? If yes please help me and forgive me for my ignorance

Thank you in advance

解决方案

Is there anybody who can help us on this ? Like pricter, I am a beginner, and do not want to "mess up" dtree, which others say is very well constructed. I have some ideas, for example, if url is blank, do something, or, call a page with the function embedded, but neither of these seems "right".
Thanks.


Hi I am new to Javascript and I want to use dtree but instead of clicking on the nodes for URL I want to call a another javascript function

Is it something to do in order to achieve that? If yes please help me and forgive me for my ignorance

Thank you in advance


Welcome to The Scripts.

See the API for dtree. When adding a node, you can specify a url. There, put in your javascript, e.g.

Expand|Select|Wrap|Line Numbers


Great ! So simple, when you know how. Another lesson learnt; thanks.


这篇关于在dtree中调用Javascript函数的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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