jsTree - update type on right click

Using jsTree, when I right click any of the nodes, I need to have in the menu an option to change the node type. I built the menu part, but I cannot figure out how to actually update the type.

In the database, I have is_homepage and type. If is_homepage = 1, then type = drive; if the is_homepage = 0, then type = file. So, if I have a drive, I want it to be able to switch to file; if I have a file, I want it to switch to drive.

I've included how I have the menu now. The image is with the type=file. I don't mind/care that both options are showing for converting the types.

Please have a sample ready if possible.

Taidot: AJAX, jQuery / Prototype, MySQL, PHP

Näytä lisää: jstree right click, out right, menu update, image type, hybride, how to update, Any type, ajax php update, php jstree database, please update image, update image database, type image file, php update file, node ajax, php node, php jstree, jstree php, jstree database, jstree, php update image, nodes, using nodes, update change database php, update image database using php, update image php

Tietoa työnantajasta:
( 27 arvostelua ) Park Ridge, United States

Projektin tunnus: #1739608

Myönnetty käyttäjälle:


Please check PMB. THnaks

$50 USD 1 päivässä
(29 Arvostelua)

3 freelanceria on tarjonnut keskimäärin %project_bid_stats_avg_sub_26% %project_currencyDetails_sign_sub_27% tähän työhön


Hi, Please see your private msg TY

$50 USD 0 päivässä
(64 arvostelua)

Hi Sir, Ready To Start Work Right Now, Please Read Your PM.

$120 USD 2 päivässä
(3 arvostelua)