Home  >  Article  >  Web Front-end  >  Please tell me how to get the node id_html/css_WEB-ITnose of dhtmlXTree

Please tell me how to get the node id_html/css_WEB-ITnose of dhtmlXTree

WBOY
WBOYOriginal
2016-06-24 12:08:011584browse

RT, I plan to implement a web page form filling function. By viewing the web page source file, I found that there is a dhtmlXTree control on the web page. The function

function tonclick(id){		    if (id =="cztz") return;		    path = tree.getUserData(id,"path");		    document.all.main.src=path;		    setLocal(id);		}function rollback(){			var id = tree.getSelectedItemId();			path = tree.getUserData(id,"path");			document.all.main.src=path;			setLocal(id);		} 

The id of each node in the source file is obtained through getSelectItemId. I I have no way of knowing. Now I want to ask how to get the ID through other methods so that I can call the rollback function directly in VC. Thank you


Reply to the discussion (solution)

I don’t know html very well. For general elements, I can find ID numbers and the like in the source file, but I can’t find this one.

Solved it myself. hehe. Just enter the jsp file address through the browser address bar.

Is there anyone who can support me? I’ll post it.

Well, just solve it by yourself. It’s still good.

Well, just solve it by yourself. It’s still good. It seems like there’s no one left, so all the points will be given to you. Hehe, it's mainly because I don't know much about this aspect, so I'm a little confused and busy.


Well, just solve it yourself. It’s still pretty good. It seems like there’s no one left, so all the points will be given to you. Hehe, it's mainly because I don't know much about this aspect, so I'm a little confused and busy.

Well, thank you. Just read the manual and that’s it.

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn