Re: Javascript and $_POST

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



You guys are going to kill me!  I found my problem....and it's one of those
"What the hell were you thinking" issues.

Within my form was a "button" but I stupidly made it a submit when I created
it and therefore the javascript check for submit was finding my button first
and dumping the error.

So, in summary:
function checkForm( )
 {
  document.FormName.submit();
 }
*DOES *work and will pass your $_POST values between pages as long as you
don't make a novice mistake like I did.


On 2/8/07, Jon Anderson <jon@xxxxxxxxxxxxxxxxxx> wrote:

Jon Anderson wrote:
> ...
>      item.focus();
>   }
> **   alert(onError);
>   **return(false);*
> *}
> ...
Sorry about the "*"s everywhere (there aren't supposed to be any). I
pasted the code in, and Thunderbird thought it was supposed to be bold
for some reason, then converted the bold text to text with "*"s
everywhere while sending as plain-text only.

jon


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux