[UPHPU] AJAX script always returning false

Kirk Cerny kirksemail at gmail.com
Thu Jun 5 16:50:24 MDT 2008


I do not see a return statement any where in your code?
A javascript function returns undefined by default which is falsey.

On Thu, Jun 5, 2008 at 3:05 PM, Wade Preston Shearer
<lists at wadeshearer.com> wrote:
> http://rafb.net/p/rSbrFl77.html
>
> I am calling this JS functionwhen the user tabs off of a form field. It uses
> an AJAX library called SACK [1]. It always returns false even though lines
> 16 should return true. Any ideas what is wrong?
>
> The function uses the AJAX library to compare the value in the form field
> against one in the database. If the values are the same it should return
> true. If the values are difference it should return false.
>
>
> [1] http://www.twilightuniverse.com/projects/sack/
>
> _______________________________________________
>
> UPHPU mailing list
> UPHPU at uphpu.org
> http://uphpu.org/mailman/listinfo/uphpu
> IRC: #uphpu on irc.freenode.net
>



-- 
Kirk Cerny (145735)
cernyki at my.wgu.edu
kirksemail at gmail.com
Seini Pahulu
BS, Information Technology-Software
(801) 358-0185
(801) 949-4748


More information about the UPHPU mailing list