Forum     

Go Back   Digit Technology Discussion Forum > Software > Programming
Register FAQ Calendar Mark Forums Read

Programming The destination for developers - C, C++, Java, Python and the lot


Reply
 
LinkBack Thread Tools Display Modes
Old 14-12-2011, 01:15 PM   #1 (permalink)
Rising Sun!
 
buddyram's Avatar
 
Join Date: Feb 2011
Location: Bengalooor
Posts: 232
Default AJAX!!!


I need the help in modifying the ajax code in retrieving the data items from the database to the text field(like the google). As of now, I have put a <span> tag below the textfield with an Id for placing the data retrieved from the database

I have also attached the screenshot with an example!
Attached Images
File Type: jpg ajax.JPG (17.0 KB, 17 views)
__________________
“An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault.” – William Castle

Last edited by buddyram; 14-12-2011 at 01:21 PM.
buddyram is online now   Reply With Quote
Advertisements. Register and be a member of the community to get rid of them.
Advertisement

Old 14-12-2011, 02:08 PM   #2 (permalink)
BIOS Terminator
 
nims11's Avatar
 
Join Date: Apr 2008
Location: Ranchi
Posts: 816
Default Re: AJAX!!!

no AJAX expert, but try this.
put the text box in that <span> too and dynamically change its size to add and remove terms in the <span> below the text box.
__________________
Arch Linux is kind of a bonzai tree, over years u try new things, make small tweaks, and end up with a system that is unique, elegant, and does exactly what u designed it to do.
Hostapd : The Linux Way to create Virtual Wifi Access Point
My Blog
nims11 is online now   Reply With Quote
Old 21-12-2011, 05:53 PM   #3 (permalink)
Rising Sun!
 
buddyram's Avatar
 
Join Date: Feb 2011
Location: Bengalooor
Posts: 232
Default Re: AJAX!!!

no it doesn't work!!
that textbox disappears when a character is keyed!!!
__________________
“An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault.” – William Castle
buddyram is online now   Reply With Quote
Old 22-12-2011, 09:47 AM   #4 (permalink)
Fullbring
 
Zangetsu's Avatar
 
Join Date: Jan 2008
Location: Soul Society
Posts: 5,523
Default Re: AJAX!!!

@buddyram: I have done this type in AJAX...it is called autocomplete extender(works like google).
u can also do this in jquery (which will be faster than AJAX).

just use ajax autocomplete extender & u r done
__________________
I'm the One you've been Waiting for...
Zangetsu is offline   Reply With Quote
Old 04-01-2012, 10:39 PM   #5 (permalink)
Rising Sun!
 
buddyram's Avatar
 
Join Date: Feb 2011
Location: Bengalooor
Posts: 232
Default Re: AJAX!!!

^^sorry for the delayed response, i didn't notice your post
i'll try it

thanx
__________________
“An expert is a man who tells you a simple thing in a confused way in such a fashion as to make you think the confusion is your own fault.” – William Castle
buddyram is online now   Reply With Quote
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


 
Latest Threads
- by Charan
- by Sarath
- by clmlbx

Advertisement




All times are GMT +5.5. The time now is 12:37 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.

Search Engine Optimization by vBSEO 3.3.2