
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-03-2017 10:19 AM
Hi,
I am tring to update selected node's properties like status,latitude and other some node data properties. For example upon on update method "
methods: { | |||
// what happens when you hit 'Save' button | |||
'update': function () { |
$.ajax({ | |||
type: "POST", | |||
url: "updateNode.php", | |||
data: this.node().latitude, | |||
success: function(return) { | |||
console.log(return); | |||
} | |||
}); | |||
} | |||
} |
But I can not access the node properties other than label and id. Also is it possible to pass current node's data to the php as json object.
Solved! Go to Solution.
- Labels:
-
NeXt
Accepted Solutions
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 05:16 AM
I found my fault, and corrected the code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2017 07:31 AM
Hi I forked,
Standart tooltip for with custome values example to log custom value to console with button.
http://codepen.io/deniza/pen/NpvRvq
It gives an error of undefined object. If set method is removed from node it works fine. I tried several approach but I guess missing something.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 05:16 AM
I found my fault, and corrected the code.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2017 11:08 AM
Hi Deniz,
My apologies for no reply: looks like your post got lost in the shuffle. I'm glad you've found the resolution to all your concerns.
- Alex
