Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Register | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read
BOOK: Professional Ajax ISBN: 978-0-471-77778-6
This is the forum to discuss the Wrox book Professional Ajax by Nicholas C. Zakas, Jeremy McPeak, Joe Fawcett; ISBN: 9780471777786
Important: For the new 2nd edition of this book, please post here instead: [url="http://p2p.wrox.com/forum.asp?FORUM_ID=307"]http://p2p.wrox.com/forum.asp?FORUM_ID=307[/url]
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional Ajax ISBN: 978-0-471-77778-6 section of the Wrox Programmer to Programmer discussions. This is a community of tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developersí questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Display Modes
  #1 (permalink)  
Old February 8th, 2008, 12:20 PM
Registered User
 
Join Date: Feb 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Chapter 7- Suggest

I have installed the suggest on a webform. The purpose of this function is to add books to a database.
Some of the fields have a suggest list like author, format, language.

I have also a hidden field with the name AuthorID. The intention is now that the value of this field is equal to the ID of the selected author or format.

I added the ID's to the array like this : ( in the suggestion.php file )
$aSuggest = array( 'txt' => $aSuggestions , 'ID' => $aSuggestionsID );
echo($oJSON->encode($aSuggest));

I changed also some function in the suggestion.js file
to show the correct suggestion list.
This works perfect, the suggest list works. But I don't know how I can change the value of the AuthorID when I select a new author.
How can I do this quit easily ?

Reply With Quote
  #2 (permalink)  
Old July 21st, 2008, 02:23 AM
Registered User
 
Join Date: Jul 2008
Location: Navi Mumbai, Maharashtra, India.
Posts: 4
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

I have one issue with the auto suggestion box. I need help on this.
 Problem is as "Whenever I type a state in the text box it automatic select one state when I typing fast." I think this is bug.

Please Help me on this.

Reply With Quote
  #3 (permalink)  
Old July 21st, 2008, 03:58 AM
joefawcett's Avatar
Wrox Author
Points: 9,763, Level: 42
Points: 9,763, Level: 42 Points: 9,763, Level: 42 Points: 9,763, Level: 42
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jun 2003
Location: Exeter, , United Kingdom.
Posts: 3,074
Thanks: 1
Thanked 38 Times in 37 Posts
Default

Please start new questions in a new topic. Can you clarify what you mean? What exactly do you do, what happens and what do you expect instead? Remember that the example in the book is designed to get you started, it's not an industrial strength control.

--

Joe (Microsoft MVP - XML)
Reply With Quote
Reply


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 Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Auto Suggest is not working vinayhk BOOK: Professional Ajax 2nd Edition ISBN: 978-0-470-10949-6 0 May 28th, 2008 03:18 AM
suggest project, urgent.... jagan7 Java Basics 1 September 6th, 2007 11:09 AM
Suggest me Jagadeesh.brk J2EE 2 May 23rd, 2007 10:49 PM
can u suggest me? ujjwal BOOK: Beginning PHP4/PHP 5 ISBN: 978-0-7645-4364-7; v5 ISBN: 978-0-7645-5783-5 1 November 18th, 2004 05:18 PM
Can Any One Suggest ME(ASP Database)? everest Classic ASP Databases 5 March 20th, 2004 04:24 AM



All times are GMT -4. The time now is 10:10 PM.


Powered by vBulletin®
Copyright ©2000 - 2017, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.