[Gambas-user] WebView, again

Moviga Technologies moviga at ...3488...
Fri Oct 16 15:52:20 CEST 2015


 

If you want to use web technologies, that is almost a must. But, you can
get pretty far by just searching for examples on Google and modifying
them to suit your needs. There are millions of questions asked about JS
on the net, and very often what you are looking for. I found this
example by searching for something like "contentEditable caret parent".
When you find the element in focus, you can simply use this Jquery
method: http://api.jquery.com/parents/ It will tell you all the
parent(ancestors) elements, while this http://api.jquery.com/parent/
will tell you the parent. It is pretty simple :) 

  



More information about the User mailing list