Reputation: 10306
I have spent whole day searching for the answer but could not find any. When I use chrome browser inspector I can see following fields being posted.
__EVENTTARGET:
__EVENTARGUMENT:
__VIEWSTATE:'-----------LONG LONG-----------'
which I can find inside the Dom, all are hidden fields But the browser is still sending following fields
ctl00$ContentPlaceHolder1$imgbSearch.x:37
ctl00$ContentPlaceHolder1$imgbSearch.y:9
These are completely not present in the Dom not even those values.
what I could find was
<div class="buttonBox">
<input type="image" name="ctl00$ContentPlaceHolder1$imgbSearch" id="ctl00_ContentPlaceHolder1_imgbSearch" src="Images/Buttons/Find.jpg" onclick="javascript:WebForm_DoPostBackWithOptions(new WebForm_PostBackOptions("ctl00$ContentPlaceHolder1$imgbSearch", "", true, "SearchPanel", "", false, false))" style="border-width:0px;" />
</div>
So can you please help me find how this happened. How do I get those missing fields and values
Upvotes: 0
Views: 58
Reputation: 10306
I am answering this question myself. If interested you can find more info http://www.w3.org/TR/html-markup/input.image.html
it states.
The input element with a type attribute whose value is "image" represents either an image from which the UA enables a user to interactively select a pair of coordinates and submit the form, or alternatively a button from which the user can submit the form.
Upvotes: 1