Nullified Posted June 21, 2011 Share Posted June 21, 2011 I am trying to create my own ajax cart, but for some reason whenever I try to change the radio tags to buttons and change the value to a more preferable line of text the click actions removes the domain textarea and tld select box. <input type="button" name="domainoption" value="transfer" id="seltransfer" class="selectButton" onload="this.value = 'Transfer Domain';" /> The above works, but if I change transfer to Transfer Domain so the button wording looks better it removes the input fileds for the domain. I have tried other work arounds like hiding the radio and having a button that checks the radios but that doesn't work. Am I missing something? 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 21, 2011 Author Share Posted June 21, 2011 Does anyone know of any help documents for customizing the ajax orderform? 0 Quote Link to comment Share on other sites More sharing options...
mojahed Posted June 21, 2011 Share Posted June 21, 2011 You can change the words by editing Language file, Let any expert do the customization. This is my advice to you 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 21, 2011 Author Share Posted June 21, 2011 You can't change words that are not in the language file. as seen in my html code, the value of the radio input is not a variable. This crap is confusing. I'm definitely not a novice user when it comes to xhtml/css/js/php, but I am unfamiliar with ajax and it's really confusing me. I can't even figure out where the onclick functions are because there are no onclick parameters set in the html tags. 0 Quote Link to comment Share on other sites More sharing options...
mojahed Posted June 21, 2011 Share Posted June 21, 2011 You can't change words that are not in the language file. as seen in my html code, the value of the radio input is not a variable. This crap is confusing. I'm definitely not a novice user when it comes to xhtml/css/js/php, but I am unfamiliar with ajax and it's really confusing me. I can't even figure out where the onclick functions are because there are no onclick parameters set in the html tags. Then you need to let any expert do this for you, you can find the offers in marketplace forum 0 Quote Link to comment Share on other sites More sharing options...
Nullified Posted June 21, 2011 Author Share Posted June 21, 2011 I got the information I needed. thanks. I don't like paying for stuff that I can do on my own. I just needed a push in the correct direction. 0 Quote Link to comment Share on other sites More sharing options...
disgruntled Posted June 25, 2011 Share Posted June 25, 2011 for future reference, you can add your own additional $_LANG['language'] = "text to the languages files"; Then you call them just the same as whmcs does {$lang.yournewstuff} just bear in mind you need to translate across all the language files to ensure that it all works as expected good luck with the ajax stuff 0 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.