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 7172603
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T15:38:55+00:00 2026-05-28T15:38:55+00:00

I use the following code which works perfectly in all browsers except Chrome and

  • 0

I use the following code which works perfectly in all browsers except Chrome and i’m struggling to understand why – when the button is clicked it simply does nothing:

echo "</div><div class='search_title'>
<!--table15--><h3>".$databack3[title]."</h3><br /><br />".$main_category."</div>
<!--end table15-->
<!--end table0-->

<div class='search_price'><h7>".$pricing."</h7><br /><br />

<form action='/productView.html' method=post name=prod_form>
<a  href='javascript:void(0);' onclick=\"document.forms['prod_form'].submit();
return false;\" class='button101' style='margin-left:80px;'>".$button_text."</a>
<input type=hidden name=PRid value=".$databack3[PRid].">
<INPUT type='hidden' name='cat_id' value=".$databack3[prodcatID].">
<INPUT type='hidden' name='for_user_id' value=".$for_user_id.">
<input type=hidden name=source value=".$source."></form></br>";
  • 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-28T15:38:56+00:00Added an answer on May 28, 2026 at 3:38 pm

    Fixed it like this:

    <div class='search_price'><h7><? echo $pricing ?></h7><br /><br />
    
    <form action='/productView.html' method=post name=prod_form id=prod_form>
    <a href="#" onclick="document.getElementById('prod_form').submit()"
    class='button101' style='margin-left:80px;'><? echo $button_text ?></a>
    <input type=hidden name=PRid value="<? echo $databack3[PRid] ?>">
    <INPUT type='hidden' name='cat_id' value="<? echo $databack3[prodcatID] ?>">
    <INPUT type='hidden' name='for_user_id' value="<? echo $for_user_id ?>">
    <input type=hidden name=source value="<? echo $source ?>"></form></br>
    

    the important bit being, gave the form an id and used diff onclick

    <form action='/productView.html' method=post name=prod_form id=prod_form>
    <a href="#" onclick="document.getElementById('prod_form').submit()"....
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have the following code which works perfectly but I need an onblur statement
I have the following code which I use to match fancybox possible elements: $('a.grouped_elements').each(function(){
I'm trying to use opengl in C#. I have following code which fails with
I want to use the following code to login to a website which returns
I am trying to use the following code, which I have not been able
I have the following use case , lot of code which was tightly coupled
In my app I've got certain buttons which use the following code: SystemSoundID beep;
I am trying to use the following code, to display $formcode, which is the
I use the following code to create countdowns in Javascript. n is the number
I use the following code to compile a cpp file to object file. g++

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.