You can have two on *:text: events in same file and they will work as expected...

so the problem is elsewhere