javascript - HttpWebRequest in C#? -


i have following html code of register page; http://jsbin.com/joxuwifo/1/edit

i understand how use httpwebrequest , ability enter information specific fields programmatically; however, if view code above, example upcoming question textbox "first name".

here code is;

<div class="mrm lfloat _ohe">     <div class="uistickyplaceholderinput uistickyplaceholderemptyinput">         <div class="placeholder" aria-hidden="true"></div>         <input id="u_0_0" class="inputtext _58mg _5dba" type="text" aria-label="first name" placeholder="" value="first name" name="firstname" data-type="text"></input>     </div> </div> 

now, moment user inputs key keyboard textbox, div class name "uistickyplaceholderinput uistickyplaceholderemptyinput" goes "uistickyplaceholderinput" no other changes. if enter first name "smith", actual word "smith" no found in html code.

the question then, how can programmatically enter information each textbox field if div classname auto changes , there no actual value put text into?

i need automatically fill out each textbox , combobox , radiobutton.

any appreciated!

thanks!

try accessing parent , drilldown there:

$('.mrm.lfloat._ohe').children('div').children('input').val("joe"); 

had add jquery make fiddle work: http://jsbin.com/joxuwifo/4/edit


Comments

Popular posts from this blog

javascript - RequestAnimationFrame not working when exiting fullscreen switching space on Safari -

Python ctypes access violation with const pointer arguments -