Hi all,
Got a question regarding following-sibling::input and
preceding-sibling::input.
Do they check if the immediate following/preceding sibling is
of type 'input'?
If they do not, then how do I check if the immediate
following/preceding sibling is of type 'input'?
Sorry, I think I mis-read the documentation...
follow-sibling::input will return true if any of the following siblings
are an <input> element.
To check if the immediate following-sibling is an input, you would need
following-sibling::*[1][self::input]
cheers
andrew