I am not talking about $("#demo1").jstree("rename",node)
which makes the node editable for the user. I am talking about the name being changed within the code. For example my nodes are all prefixed with a 2 digit number "[01]" so before I call $("#demo1").jstree("rename",node)
I want to strip out the prefix, and put it back in once the user has finished editing. I have tried selecting "#nodeid a" but inside the hyperlink there is an ins tag and this gets replaced if i replace the URL contents. The documentation hasn't been helpful and I havent had much luck looking through the libraries code, can any help me? Chris
相关问题
- Is there a limit to how many levels you can nest i
- How to toggle on Order in ReactJS
- How to fix IE ClearType + jQuery opacity problem i
- void before promise syntax
- jQuery add and remove delay
You should turn on the switch to allow the rename operation, such as:
The recommended method is to use
rename_node
Rename your node (alternative, not recommended)
Debugging
If you still encounter trouble, you can use this method to get the last error.
For older versions (v1.*)
See also:
rename_node
set_text