Author Topic: How to catch the delete event on pqselect ?  (Read 3483 times)

shailesh.sakare

  • Newbie
  • *
  • Posts: 1
    • View Profile
How to catch the delete event on pqselect ?
« on: July 02, 2015, 04:43:20 pm »
Hi,

I came across pqselect find it interesting, was juggling around it.
so came across question .
How can I get the deleted Item from Select list in pqSelect?
means how can I catch the Item delete event if I want which item is deleted ?
Regards,

Shailesh.

paramvir

  • Administrator
  • Hero Member
  • *****
  • Posts: 6310
    • View Profile
Re: How to catch the delete event on pqselect ?
« Reply #1 on: July 02, 2015, 05:07:55 pm »
you can listen to change event of original select list and compare the current val() with previous val().  you might not be able to access previous val() in change event, so previous val() could be stored in a variable.
« Last Edit: July 21, 2015, 07:19:20 pm by paramquery »