Jump to content

Couple minor issue starting up, wrong email path, no final sign up button, and I need the header a little bigger.


Chaze

Recommended Posts

I just installed this new script here http://webhost.pro/domain-check.php it's a basic domain availability tool.

I am trying to make a form that can be used on any page forward to this page with the content.

The page loads with this in the url webhost.pro/domain-check.php?domain=dwhs.net and will run the page.

So I can make a form that just submits to that page and sends the details.

I made this page for testing

http://webhost.pro/test.html

But no go, here is the code:

<form id="search" action="/domain-check.php" method="GET">
<input type="text" name="s">
<a onClick="document.getElementById('search').submit()" class="button1">Search</a>
<div class="clear"></div>
</form>


Thanks!

Link to comment
Share on other sites

And why the convoluted submit logic???  You have a form.  Why not use a 'type="submit"' element instead of an anchor using JS to trigger the submit of this very same form???  Very strange.  If you copied this from somewhere, I'd be wary of other silly practices in that place.

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.

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