Home > Web Front-end > HTML Tutorial > 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
Release: 2016-06-24 12:08:01
Original
1608 people have browsed it

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);		} 
Copy after login

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.

source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template