Beefy Boxes and Bandwidth Generously Provided by pair Networks
Don't ask to ask, just ask
 
PerlMonks  

Re^4: How to Enter a value to a field without having name in WWW-Mechanize-Firefox

by Anonymous Monk
on Nov 05, 2012 at 09:00 UTC ( #1002293=note: print w/ replies, xml ) Need Help??


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!


Comment on Re^4: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
Select or Download Code
Re^5: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
by Anonymous Monk on Nov 05, 2012 at 09:03 UTC
Re^5: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
by marto (Chancellor) on Nov 05, 2012 at 09:08 UTC

    "If possible pls write the code here"

    This is not a code writing service.

    "Actually my manager is kicking me on my head, that's why loosing my control."

    "I am fed up!"

    Consider telling your manager that you are either unable or unwilling to learn how to use the tools in question to complete the task you've been given.

Log In?
Username:
Password:

What's my password?
Create A New User
Node Status?
node history
Node Type: note [id://1002293]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this? | Other CB clients
Other Users?
Others examining the Monastery: (9)
As of 2014-09-16 20:37 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    How do you remember the number of days in each month?











    Results (47 votes), past polls