1
0
mirror of https://github.com/MontFerret/ferret.git synced 2025-11-27 22:08:15 +02:00

Added dynamic Element.value

This commit is contained in:
Tim Voronov
2018-09-27 17:19:55 -04:00
parent 61c81fa03b
commit ef29241aa6
2 changed files with 23 additions and 3 deletions

4
docs/examples/value.fql Normal file
View File

@@ -0,0 +1,4 @@
LET doc = DOCUMENT("https://www.yandex.com/search/?text=foobar", true)
LET input = ELEMENT(doc, 'input[type="search"]')
RETURN input.value ? input.value : 'value not defined'