Jump to content

darkdrops

Members
  • Posts

    7
  • Joined

  • Last visited

Posts posted by darkdrops

  1. hi need help with a code problem
    i whant to change button to an image
    but when i click on it, it not take me to the page its supose to.
    anyone knows the problem?

    this is the code that i working with!

    td><input type=\"image\" src=\"images/paypal.png\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\"></td>


    this is the working orignal code

    <input type=\"button\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\">

  2. this is how the orignal code looks like.

    and this working fine.

     

    <input type=\"button\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\">

     

    but this not have a picture to click on just a button

  3. need help with a  code

    i have placed a image instead of a button.

    but when i click on it it not redirekt to the page its supose to go

    anyone have the answer for this?

    excuse my bad english:)

    <td>
    <select name=\"upgrade$membership[id]\">
    ";
    for($x=0; $x<count($tpackages); $x++) {
    $temp_price=($tpackages[$x]*$membership['price']);
    $includes[content].="<option value=\"".$tpackages[$x]."\">".($tpackages[$x])." ".
    iif($membership[time_type]=="D","Day").
    iif($membership[time_type]=="W","Week").
    iif($membership[time_type]=="M","Month").
    iif($membership[time_type]=="Y","Year").
    iif($membership[time_type]=="L","Lifetime").
    " Membership - $cursym $temp_price";
    }
    $includes[content].="
    </select>
    </td>
    <td><input type=\"image\" src=\"images/paypal.png\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\"></td>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.