in reply to
Re^3: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
in thread How to Enter a value to a field without having name in WWW-Mechanize-Firefox
Man, I am really sorry! Actually my manager is kicking me on my head, that's why loosing my control. :)
Actually I need to write a pincode like "10027" on a field. and for that we can use like $mech->field( user => 'joe' ); where 'user' stands for the 'name' attribute. but in my case there is no name associated to it. pls see the code below,
<input class="getaquotepagezipcodefield" id="iaQuoteByZip" type="text" style="background-color: rgb(255, 255, 255); ">
Here there is no 'name' attribute, all you got is 'class', 'id', 'type', 'style' (and no 'name'). then how can we use this code, $mech->field( user => 'joe' ); ? Or can we modify this code?, If possible pls write the code here. I am fed up! Thanks!