i'm submitting a form to create node using ajax. I can able to create a node using drupal_get_form('node_form', $node) but i need the node id in response. Can anyone help me out to get the node id in ajax response after creating the node.
Drupal 7 get node id in AJAX
941 views Asked by Mohanraj At
2
In the node_form function, do something like this,
In the callback function you can get it as,