[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
x27;") + "'" rsUser.CursorType = 0 rsUser.CursorLocation = 2 rsUser.LockType = 1 rsUser.Open() rsUser_numRows = 0 %> <% If Not rsUser.EOF Or Not rsUser.BOF Then %> 1 <% End If ' end Not rsUser.EOF Or NOT rsUser.BOF %> <% rsUser.Close() Set rsUser = Nothing %>

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
. > > In your AJAX response conditional check, you want to do > if (response == "1") > (with the double-quotes) > Otherwise, you're checking for an integer. What's returned is a String > type. > > On Sep 28, 10:31 am, factoringcompare > wrote: > &g

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
n that the username is taken. Which it is not On Sep 28, 9:05 pm, MorningZ wrote: > Why do you have a page with a php extension? > > As for helping further, it would be a huge help if you post some non- > working code...  you could have a bad selector, bad syntax, who > knows...

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
elp prevent SQL injection attack > - Take that username and check against the database > - echo (Response.Write) the number of rows found > - Close the database connection > > On Sep 28, 1:26 pm, factoringcompare > wrote: > > > > > OK, I am trying to get this exam

[jQuery] Re: Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
page in php that you want to mimic, and simply have > asp send back to the browser the same information > > On Sep 28, 3:58 am, factoringcompare > wrote: > > > > > Hi, > > > Reasonably new to web building. I am now just updating my site with > > jQuery (fi

[jQuery] Ajax check username - ASP and Access DB

2009-09-28 Thread factoringcompare
Hi, Reasonably new to web building. I am now just updating my site with jQuery (first time user). I would like to implement an Ajax username checker on a new client registration form. All the tutorials and examples I can find use jQuery and php. Unfortunately, I have taught myself Access and ASP