[jQuery] Edit in place: only one textfield open per page

[jQuery] Edit in place: only one textfield open per page


Hi,
I'm using the code from the '15 days of jquery' demo of edit in place:
http://15daysofjquery.com/examples/jqueryEditInPlace/demo.php
JS: http://15daysofjquery.com/examples/jqueryEditInPlace/jqueryEIP.js
I have a page that has 10+ eip textfields and it all works well. But
when you open 2 eip textfields and you close the first opened you get
an error. So I would like to make it so that you can only open one eip
field at a time. Meaning that if one is already open, it will close
when another is opened.
Is that possible? And if so, how would you achieve this?