Jump to content

Recommended Posts

i don't wanna let my visitor see the error before the page load again

 

The only way to do this is with Javascript.

 

i tried this with javascript but it has allot of errors

 

I would suggest you post your code and a description of your errors in the Javascript board.

Purely javascript.

if (document.form.textbox != value){
alert("Incorrect");
}

Another way that I think you want is by using AJAX.

send the data and check it without reloading the page?

There is some good tutorials on ajaxfreaks.com on how to do that.

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.