Jump to content

Ajaxcart orderform


mydatacenter

Recommended Posts

Hello,

 

I come to you because I have a problem I'm currently working on ajaxcart for whmcs v6.

 

The basket starts to work, though I have some programming problem, and that's why I come to you today.

 

The problem is that at the level of research domains.

 

Code domainoptions.tpl:

 

<div class="domainregperiod">{$LANG.cartregisterhowlong} <select onchange="[color="#FF0000"]{php} if($_REQUEST['adddomaincustom']=='1'){ {/php} adddomain(); {php} }else{ {/php} completedomain(); {php} } {/php}[/color]" name="domainsregperiod[{$domain}]" id="regperiod">{foreach key=period item=regoption from=$regoptions}{if $regoption.register}<option value="{$period}">{$period} {$LANG.orderyears} @ {$regoption.register}</option>{/if}{/foreach}</select></div>

 

Code firebug:

 

<select id="regperiod" name="domainsregperiod[essai.aaa.pro]" onchange="[color="#FF0000"]adddomain(); completedomain();[/color] ">

 

Thank you in advance

Edited by mydatacenter
Link to comment
Share on other sites

Join the conversation

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

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  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

By using this site, you agree to our Terms of Use & Guidelines and understand your posts will initially be pre-moderated