I'm trying to extract all the form inputs, which their type
is text
.
My problem is, at least in Chrome, that's an input
tag, without the type
attribute specified, is rendered as text
.
How can I find all the tags which their type
is no specified, or it's value is text
with simple html dom?
My current:
foreach ($form->find('input[type=text]') as $input)