reaveswins Posted March 13, 2013 Share Posted March 13, 2013 I'm trying to make it so the bulk domain search page has a box and then TLD check boxes. I found this script that people say is working but I cannot get it to work. It displays properly just doesn't actually search. Anyone have any ideas ? Your help is greatly appreciated. {literal} <script type="text/javascript"> function formatSearch(){ var tlds=Array(); /* Load words to search (SLD) into Array */ var slds=document.getElementById('mutilsld').value.spl it("\n"); j=0; /* Load checked TLDs into Array */ for (i = 0; i < document.formBulk.tld.length; i++) if (document.formBulk.tld.checked){ tlds[j] =document.formBulk.tld.value; j++; } var txt=""; for(i=0;i<slds.length;i++){ for(j=0;j<tlds.length;j++){ txt= txt + slds + tlds[j] + "\n"; } } document.getElementById('bulkdomains').value=txt; } </script> {/literal} <form id="formBulk" name="formBulk" method="post" action="domainchecker.php?search=bulk" onsubmit="formatSearch()"> <p> <textarea name="mutilsld" id="mutilsld" cols="45" rows="5"></textarea> </p> <p> <input name="tld" type="checkbox" id="tld" value=".com" /> .com <input name="tld" type="checkbox" id="tld" value=".net" /> .net <input name="tld" type="checkbox" id="tld" value=".org" /> .org </p> <p> <input type="hidden" name="bulkdomains" id="bulkdomains" /> <input type="submit" id="Submit" value="{$LANG.domainlookupbutton}" /> </p> </form> 0 Quote Link to comment Share on other sites More sharing options...
reaveswins Posted March 14, 2013 Author Share Posted March 14, 2013 Does it normally take this long to get a response? 0 Quote Link to comment Share on other sites More sharing options...
And then there was one les Posted March 16, 2013 Share Posted March 16, 2013 The best thing you can do is go back to where you got the script from and ask there. They are the best person to work with it, There have been some changes to the templates in different versions so just because it works on one version doesnt mean its going to work on another. 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.