'innerHTML' does what is says, it returns the HTML content of
some given element. So if you had in your interface something
like: <textarea>Some text</textarea>, then innerHTML
would return 'Some text'. However if you type text into an input
element like 'textarea' or 'input', that text does not end up as
the HTML content of the input element. It can instead be retrieved
using the 'value' attribute of the element. TPAs simulate user
typing, so end up using the same mechanism.
Moreover if you're writing nools rules, you should get your input from working memory facts rather than by inspecting the interface directly. If you've set those texts through TPAs as your attachment shows, then those TPA facts should still be present in working memory and can be used in a rule's left-hand side matching.
Best,
Octav
--
You received this message because you are subscribed to the Google Groups "CTAT Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ctat-users+...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/ctat-users/238bd109-9f0d-4d69-9e4e-53b9936c7000n%40googlegroups.com.