473,466 Members | 1,366 Online
Bytes | Software Development & Data Engineering Community
Create Post

Home Posts Topics Members FAQ

My AJAX example...

I am trying to learn AJAX to do some cool stuff over the internet. So,
for practise, I decided to code a small site that simply prints out
quotes from William Shakespeare.

http://eblarg.com/quotes/quotes.aspx

Basically, start typing away and watch the quotes appear. See how many
you can guess!

If this becomes popular, I will add tons more quotes.

Suggestions/Comments welcomed!

Thanks!

cbmeeks

Feb 1 '06 #1
5 1479
"cbmeeks" <cb*****@gmail.com> wrote in message
news:11*********************@z14g2000cwz.googlegro ups.com...
I am trying to learn AJAX to do some cool stuff over the internet. So,
for practise, I decided to code a small site that simply prints out
quotes from William Shakespeare.

http://eblarg.com/quotes/quotes.aspx

Basically, start typing away and watch the quotes appear. See how many
you can guess!

If this becomes popular, I will add tons more quotes.

Suggestions/Comments welcomed!

Thanks!

cbmeeks


I think the Bard would be disappointed in your use of the
word "Quotes" instead of the more formal "Quotations" :)
Feb 1 '06 #2
Hahaha, didn't think of that. :-P

lol

Feb 2 '06 #3
I had a little difficulty following your source code
because it didn't have any whitespace :).

Take a look at my completely documented examples
too, please. Complete code available for download (server side too).
It's a bit more complicated, but it's trying to do more complex
things.

See http://xsdb.sourceforge.net/xFeed.html for documentation.
See http://www.xFeedMe.com for live web page examples.
See http://sourceforge.net/project/showf...group_id=93603 to
download.
[Most of the package bulk consists of example data used in
the example configurations.]

The xFeed example application of the
xsdb package provides an infrastructure which makes it easy to
implement "type ahead suggest" drop down selections matching
against large or small data sets in web pages.

The xFeed type ahead completion functionality
can use a static xml file for small data sets or it can use live
server components provided with the package for any size
data sets.

All software is open source and freely available for use and
modification by anyone. Enjoy! Thanks!
-- Aaron Watters

===

Sometimes I forsee my son saying "I'd like to
thank the Nobel committee..." and other times
I forsee him saying "Would you like fries with that?"
-- Robin Williams

Feb 8 '06 #4
Cool. Nice work.

Yeah, I usually remove whitespace in production code or when I'm not
trying to explain my code. I mean, I wasn't trying to hide anything, I
just like the way it looks in the IDE...hehehe

Anyway, I updated mine to a link that is easier to remember:

http://eblarg.com/quotes/

I also have a comments section but the comments come from an external
site and they only gave me permission to use 10 comments.

Anyone care to comment on the speed or functionality?

Thanks!

cbmeeks

Feb 8 '06 #5
I'm sorry. I thought it was really cool and quite fast.
I'd like to see more comprehensive quotes too.

btw: I've integrated my zip code example with the google
maps api:

http://www.xfeedme.com/zip/zipcompletions_map.html

Try typing "gren" for the city name, for example :).

This is fun!
-- Aaron Watters

===
I know, it's only rock and roll, but I like it.
-- Mick Jagger

Feb 8 '06 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: bobzimuta | last post by:
I'm creating a simple AJAX library. It's an object that will return an array containing the response text or xml. I'm trying to find a way to assign the response as a property of the object, but...
8
by: needin4mation | last post by:
I understand this is a asp.net group, but thought I would post this here for comments. I admit I have used this post in another group, but it has less traffic. Here's to hoping I'm just blind to...
2
by: Alex | last post by:
Example uploaded to: http://www.clickatus.com/ajax/ BTW - This is for FIREFOX, won't work in IE. I don't know why but when it is executed the browser still in loading state... Even though...
7
by: Ivan Marsh | last post by:
Hey Folks, I'm having a heck of a time wrapping mind around AJAX. Anyone know of a simple, straight-forward example for pulling a simple query from mysql with PHP using AJAX? As I...
31
by: Tony | last post by:
I just noticed that prototype.js is one of the files in the Ajax.NET distribution - I'm pretty concerned about this. Does anyone know if this is the same "prototype.js" that is not well-liked...
1
by: www.web20developers.com | last post by:
http://www.web20developers.com http://www.web20developers.com/index.php?option=com_content&task=view... Ajallerix : AJAX, simple, fast Web image gallery demo ; at Novell AJAX -...
3
by: BG Mahesh | last post by:
hi We are looking for a good Ajax library which has very good support for iframe. The ones we have considered so far are, Backbase.com - not happy with the speed Zapatech.com - it is good but...
25
by: meltedown | last post by:
This is supposed ot be an example: http://www.ajaxtutorial.net/index.php/2006/11/30/simple-ajax-using-prototype-part-2/ It says : This example is probably the simplest example you will ever...
17
by: Arjen | last post by:
Hi, I want to reload 2 divs at one click. Ive tried: <a href = "javascript:void(0);"...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
1
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.