Jump to content

help modify a code

Go to solution Solved by Barand,

Recommended Posts

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:)

<select name=\"upgrade$membership[id]\">
for($x=0; $x<count($tpackages); $x++) {
$includes[content].="<option value=\"".$tpackages[$x]."\">".($tpackages[$x])." ".
" Membership - $cursym $temp_price";
<td><input type=\"image\" src=\"images/paypal.png\" onclick=\"buyupgrade($membership[id],document.form.upgrade$membership[id].value)\" value=\"Buy Now!\"></td>
Edited by ignace
Added code tags
Link to comment
Share on other sites

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

Link to comment
Share on other sites

This thread is more than a year old. Please don't revive it unless you have something important to add.

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • 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.