Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6326199
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 24, 20262026-05-24T17:02:40+00:00 2026-05-24T17:02:40+00:00

I am using mechanize to interact with a website. The website is a search

  • 0

I am using mechanize to interact with a website. The website is a search engine with different channels such as knowledge, book, journal and newspaper. Some of the code like this:

<UL>
   <LI id=me_0_1 style="DISPLAY: none; FONT-WEIGHT: bold;">
       <A style="width:30px;text-decoration:none;">
           <FONT color=#000000>**Knowledge**</FONT>
       </A>
   </LI>
   <LI id=me_0 style="DISPLAY: block;height:20px;width:30px;">
       <A onClick="change_Tag('me_0','goqw.jsp','');" href="#" style="width:30px;">**Knowledge**</A>
   </LI>
   <LI id=me_1_1 style="DISPLAY: none; FONT-WEIGHT: bold;">
      <A style="width:30px;text-decoration:none;">
          <FONT color=#000000>**Book**</FONT>
      </A>
   </LI>
   <LI id=me_1 style="DISPLAY: block;height:20px;width:30px;">
      <A onClick="change_Tag('me_1','search','searchFBook');" href="#" style="width:30px;">**Book**</A>
   </LI>
   <LI id=me_2_1 style="DISPLAY: none; FONT-WEIGHT: bold;">
      <A style="width:30px;text-decoration:none;">
          <FONT color=#000000>**Journal**</FONT>
      </A>
   </LI>
   <LI id=me_2 style="DISPLAY: block;height:20px;width:30px;">
      <A onClick="change_Tag('me_2','searchJour','searchFJour');" href="#" style="width:30px;">**Journal**</A>
   </LI>
</UL>

How to switch between these tags in mechanize? Many thanks!

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-24T17:02:41+00:00Added an answer on May 24, 2026 at 5:02 pm

    You need to sniff what’s happening inside the change_Tag function. Open its sources and look for AJAX-requests, redirects, script tag insections. After that just send the appropriate request using Mechanize.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using WWW::Mechanize to do some standard website traversal, but at one point I
I'm using mechanize to visit the same web-site from different proxies. The website has
I'm using mechanize to login into a website and then retrieve a page. I'm
I've encountered the Iconv::IllegalSequence error on some web pages when using mechanize lib. Is
this week I'm having problems logging in LinkedIn using ruby mechanize. My code is
so i am trying to extract the email of my website using ruby mechanize
I'm trying to use WWW::Mechanize to extract some links from the HTML page using
I'm trying to login automatically in a website using Perl with WWW::Mechanize . What
I'm using mechanize to fill form on a website and now I run into
I'm using mechanize (which uses clientform) for some web crawling in python and since

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.