Jump to content

creating new variable for dropdown


elysed

Recommended Posts

Hello,

I have a dropdown list for the tld but the "value" is blank, how do i determine/create the variable that will direct you to the "Register a domain" page with the domain you selected still showing up in the new page.

 

<form id="form_1">

<div>

<a href="http://www.hostillery.com/whmcs/cart.php?a=add&domain=register" onClick="document.getElementById('form_1').submit()">register now!</a>

</form><form action="http://www.hostillery.com/whmcs/cart.php?a=add&domain=register" id="form_1" method="post">

<input type="hidden" name="token" value="" />

<select name="tld" id="tld">

<option>.com</option>

<option>.co</option>

<option>.net</option>

<option>.org</option>

<option>.ca</option>

<option>.us</option>

<option>.eu</option>

<option>.co.uk</option>

<option>.org.uk</option>

<option>.biz</option>

<option>.co</option>

<option>.info</option>

<option>.mobi</option>

<option>.name</option>

<option>.me</option>

<option>.tv</option>

</select><input type="text" class="input">

</div>

</form>

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.

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • 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