How can i access __div

Is this so you can implement the multiline and other text input features? Depending on where you are trying to port your program, it might honestly be best to have a different set of code specifically for DOM (eg. using #if dom) so you can have full control over the features you need. As we’ve seen here, text input implementation for DOM seems incomplete. You could alternatively try implementing the quickfix by jeff_ward (on that same page); when properly tested we can even make a pull request for this set of features.

I’m out of town for the week and am away from all my normal stuff, so I’m only able to offer advice and can’t test code ) :