function updateVideoData (event) {
    console.log({
	artist : event.data.input_artist.val(),
	instrument : event.data.input_instrument.val(),
	raga : event.data.input_raga.val()
    });
    $.post('/videos/update',
	  {
	    id : event.data.id,
	    artist : event.data.input_artist.val(),
	    instrument : event.data.input_instrument.val(),
	    raga : event.data.input_raga.val()
	  },
	   function (data) {
	       console.log(data);
	   },
	   "json"
	  );
}
/**
 * Receive the data input by the user for a video
 * and send it to the database. This routine is a click handler
 *
 * @param event object sent to click handler
 */
Receive the data input by the user for a video
and send it to the database. This routine is a click handler

@param event object sent to click handler
Receive the data input by the user for a video and send it to the database . This routine is a click handler @param event object sent to click handler
function updateVideoData (event) {
    console.log({
	artist : event.data.input_artist.val(),
	instrument : event.data.input_instrument.val(),
	raga : event.data.input_raga.val()
    });
    $.post('/videos/update',
	  {
	    id : event.data.id,
	    artist : event.data.input_artist.val(),
	    instrument : event.data.input_instrument.val(),
	    raga : event.data.input_raga.val()
	  },
	   function (data) {
	       console.log(data);
	   },
	   "json"
	  );
}
function updateVideoData ( event ) { console . log ( { artist : event . data . input_artist . val ( ) , instrument : event . data . input_instrument . val ( ) , raga : event . data . input_raga . val ( ) } ) ; $ . post ( '/videos/update' , { id : event . data . id , artist : event . data . input_artist . val ( ) , instrument : event . data . input_instrument . val ( ) , raga : event . data . input_raga . val ( ) } , function ( data ) { console . log ( data ) ; } , "json" ) ; }
Receive the data input by the user for a video
 and send it to the database.
Receive the data input by the user for a video and send it to the database .