Beefy Boxes and Bandwidth Generously Provided by pair Networks
Do you know where your variables are?
 
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 about the Monastery: (5)
As of 2014-12-21 09:55 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    Is guessing a good strategy for surviving in the IT business?





    Results (104 votes), past polls