Beefy Boxes and Bandwidth Generously Provided by pair Networks
Syntactic Confectionery Delight
 
PerlMonks  

How to Enter a value to a field without having name in WWW-Mechanize-Firefox

by Anonymous Monk
on Nov 04, 2012 at 17:32 UTC ( #1002227=perlquestion: print w/ replies, xml ) Need Help??
Anonymous Monk has asked for the wisdom of the Perl Monks concerning the following question:

Hi Monks, I have a doubt regarding Mech::firefox. My question is how to Enter a value to a field which is having no name (but have id).

Pls take a look at this website     http://www.trustedchoice.com/content/find-an-agent/FindAnAgent.aspx     Here I want to give the Zip/Postal code Field a value of "10027" and click the Go button. Can any one Pls guide me how to do this.

Thanks in Advance Monks, & Thanks Corion for this wonderfull module.

Comment on How to Enter a value to a field without having name in WWW-Mechanize-Firefox
Download Code
Re: How to Enter a value to a field without having name in WWW-Mechanize-Firefox
by Anonymous Monk on Nov 04, 2012 at 17:58 UTC

      Thanks Monk, I read that before asking this question(+ documentation + cookbook also)! I am just a beginner and I didn't find a way to do that, that's why I asked here.

      I may click through Xpath, but how will I enter a value there?(Pls check the mentioned site Source code!, Did you checked it?)

      Here, the beginners like me are asking for solutions & not an amazing advice.

Log In?
Username:
Password:

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

How do I use this? | Other CB clients
Other Users?
Others wandering the Monastery: (15)
As of 2015-07-06 12:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    The top three priorities of my open tasks are (in descending order of likelihood to be worked on) ...









    Results (74 votes), past polls