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!

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.

Archived

This topic is now archived and is closed to further replies.

×
×
  • 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.