Click here to Skip to main content
15,892,809 members
Please Sign up or sign in to vote.
4.00/5 (1 vote)
I created a jquery auto complete in my application by following this[^] link.

Now problem is when i host it then it stops working while it is working fine in my machine.

Is there some specific setting in IIS for handler I am using or anything else i am missing.

Thanks
Pankaj
Posted

1 solution

My best guess and bet would be missing reference of the Javascript file. Based on the link, it might have happened that you too have just referenced the js file which worked in your dev environment.

At times, the relative url are a little different while hosting and thus autocomplete javascript file might be referenced to a wrong location.

I would suggest you to use this tip: Resolving Paths in a Multi-Folder WebSite[^] and correct the reference.

For a quick test, try putting the js file in folders above and below the one it is right now...
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)

  Print Answers RSS
Top Experts
Last 24hrsThis month


CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900