added ajax functionality on assigning designation to task
added ajax functionality on assigning designation to task