saseow
Posts: 744
|
| Posted: 09/20/2009, 7:57 AM |
|
I have an AutoComplete text box that holds the client name. This works fine.
When selected, I want to populate a client_id textbox with the ID using AutoFill.
I have had a look at the topic here:
http://examples.codecharge.com/Ajax/Autocomplete_desc.php
I just cannot get this to work!
Has anyone done this and is prepared to give some pointers?
|
 |
 |
saseow
Posts: 744
|
| Posted: 09/20/2009, 9:41 AM |
|
Forget this, It is the CR/LF problem with AJAX.
|
 |
 |
jjrjr1
Posts: 942
|
| Posted: 09/20/2009, 3:04 PM |
|
There is a fix for this
In the before output event for the Ajax routine just remove the cr/lf characters in $main_block
I have had success with that
_________________
John Real - More CodeCharge Studio Support at - http://CCSElite.com |
 |
 |
saseow
Posts: 744
|
| Posted: 09/20/2009, 4:47 PM |
|
I will give this a try.
Thank you!
|
 |
 |
|