I wanted to identify the following element on a page:
<input name="ctl00$ContentPlaceHolder1$txtData" type="text" value="19/01/2015" id="ctl00_ContentPlaceHolder1_txtData" style="font-size:110%;font-weight:bold;width:120px;" />
I'm using the following query to find the element:
$node = $xpath->query("//input[@id='ctl00_ContentPlaceHolder1_txtData']");
Is the query correct?
What is the best way to get value
of this input ?