Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 173
  • Last Modified:

Is it possible to use any js function inside the jquery autocomplete


Hi ,

I plan to use juery autocomplete . but the URL is genrated in othe JS function how can i call the the function

eg: my js function return url is i want to use in autocpmplete URL .
0
Sathish David  Kumar N
Asked:
Sathish David  Kumar N
  • 3
  • 2
1 Solution
 
cmalakarCommented:
You must be able to use.. Just invoke the function as

.autocomplete ( myfunctionWillReturnURL(), blah....);
0
 
Sathish David Kumar NAuthor Commented:
no need to mention anything in front of it? like url
0
 
cmalakarCommented:
if your js function returns the complete url, then no need to mention.

Else, you need to add what ever is required, to make it a valid url.
0
 
Sathish David Kumar NAuthor Commented:
Its give object expect js error
0
 
cmalakarCommented:
>> Its give object expect js error

Can you show the code ?
0

Featured Post

Keep up with what's happening at Experts Exchange!

Sign up to receive Decoded, a new monthly digest with product updates, feature release info, continuing education opportunities, and more.

  • 3
  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now