Quote:
|
Originally Posted by bukaida
@rocket357-First of all I am extremely sorry if by any means I have ofended you. There was no such intention for a person who is trying to help me.I tried to explain the problem in greater detail and the doubts arised from your reply.
Sorry again if it hurted you unknowingly.
|
Nah, I should apologise...I did take your post somewhat offensively, but my reaction was more tied to the bad day I was having at work...forgive me for snapping back. I'm usually MUCH more level headed!
Quote:
|
Originally Posted by bukaida
Now my main doubt was that to access the database I am using a server side scripting and on the html page, a client side scripting.I donot have any idea, if it is possible to access the database with clientside scripting.If that is possible, it will solve my problem.
|
I've never *personally* done this, but it's my understanding that you can code a service for your web server that the AJAX code can connect back to. The service can then perform the database lookups you require. Since you aren't going through the "normal" channels (the http service), you don't need to refresh the page and can perform realtime lookups like you're asking about.
And I bet if you google AJAX you'll find open source / free services (GWT, if you're into Java) that are ready to roll out to your server as an AJAX-compatible service. AJAX uses XML (
Asynchronous
Javascript
And
XML), so there's quite a bit of freedom in structuring requests/responses as you need.
Good luck on the coding, and again, I apologise for my reaction in my last post.