Link to home
Start Free TrialLog in
Avatar of rajaamirapu
rajaamirapu

asked on

CFAutosuggest problem

I was going through your article in http://www.devwebprofrance.com/2007/0726.html. I am facing one issue. I have a index page in the submit i am calling the results page. I have autosugget in both the pages. But when i use the autosuggest in results page. The autosuggestion drop down
 it is appearing and disappearing(Flashing). Can you suggest what can be the problem. I have only 30 points.
 
Avatar of azadisaryev
azadisaryev
Flag of Hong Kong image

a link to an example page will be good, as well as relevant parts of your code...

Azadi
Avatar of rajaamirapu
rajaamirapu

ASKER


This is how i am calling the page. Below there is are a set of results getting displayed in a table
<cfinput type="text" name="emp" value="#emp#" autosuggest="cfc:controller.ajaxSearchHelper({cfautosuggestvalue})" showautosuggestloadingicon="false"/>

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of azadisaryev
azadisaryev
Flag of Hong Kong image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Also this work on Firefox. Only IE has this problem
Here is the generated code

 <div  id="empautosuggest" class="autosuggest">
	<div  style="float:left;">
		<input name="emp" id="pn"  type="text"  class="autosuggestinput"  />
	 </div><div  id="empcontainer" class="autosuggestcontainer" style="float:left;">
		
	 </div>

Open in new window

i still can't reproduce the flashing you describe in any browser.
if you do not have a link to a live page that shows the flashing, at least post the code of that page! (NOT generated code, but your cfml+html code)

Azadi
When i debug in firebug i have seen the following messages
401 Access Denied
            5.34s      cfajax.js (line 147)
Next requst the dropdown is coming.
Any ideas on this
looks like your web server setup is not complete...

see if you can access this in your browser:

http://yousite.com/CFIDE/scripts/ajax/package/cfajax.js

(replace 'yoursite.com' with your domain name)

if you can't access it via your browser, then:
- check in CF Admin that a mapping is defined for /CFIDE
- check that your website has a /CFIDE virtual directory setup pointing to correct /CFIDE folder location (usually {cf_intall_dir}\wwwroot\CFIDE)
- if your CFIDE physical folder is in some other location that the default one, then check that the user CF is running as has proper permissions to that location

if you are on a shared hosting - file a ticket with tech support to check and setup virtual directory for /CFIDE

Azadi
@rajaamirapu: how did it go with this? is this still an issue? need more help?

Azadi
azadi: Your solution has thrown some light on the issue
Thanks for your help