Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6748107
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T12:31:34+00:00 2026-05-26T12:31:34+00:00

I am using Jquery tokenizer as like facebook using the following plugin http://loopj.com/jquery-tokeninput/ which

  • 0

I am using Jquery tokenizer as like facebook using the following plugin

http://loopj.com/jquery-tokeninput/

which works great.
Only the issue is, when I run it from the Visual Studio, the default URL looks like http://localhost:1234, the auto complete not works when the http contains the port number, it works fine when we publish and see without port number.

Here my question is, can we make it work with port number or can we run the visual studio with debugger without port number.

The following doesn’t work.

<input type="text" id="Text1" name="blah" />
        <input type="button" value="Submit" />
         <script type="text/javascript">
        $(document).ready(function() {
            $("#Text1").tokenInput("http://localhost:1299/SVSS/multisuggest.aspx", {
                theme: "facebook"
            });
        });
        </script>

It works fine with following code

 <input type="text" id="Text2" name="blah" />
        <input type="button" value="Submit" />
         <script type="text/javascript">
        $(document).ready(function() {
            $("#Text2").tokenInput("http://system2/college/multisuggest.aspx", {
                theme: "facebook"
            });
        });
        </script>
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-26T12:31:34+00:00Added an answer on May 26, 2026 at 12:31 pm

    It treating as cross domain when you use ports. Just change the following code in .js file

     // Add the following line
             settings.crossDomain = false;
         // Before the following code
            if(settings.crossDomain === undefined) {
                if(url.indexOf("://") === -1) {
                    settings.crossDomain = false;
                } else {
                    settings.crossDomain = (location.href.split(/\/+/g)[1] !== url.split(/\/+/g)[1]);
                }
            }
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the jquery tokeninput plugin from loopj.com Here is my JS File: $(document).ready(function()
Using jQuery, how would you find elements which have a particular style (eg: float:
Using jQuery's dialog I came across the following quirk (tested in FF3): User selects
Using jQuery, what's the best way to automatically initialize a plugin on all current
Using jQuery and the Cycle plugin. Runs flawless in Safari, Chrome, Firefox, and the
Using jquery (javascript) need to display facebook user name in html page using facebook
Using jQuery I want to be able to click an element which will also
Using jQuery, I would like to disable scrolling of the body: My idea is
Using jQuery 1.4.2 (IE8 in compatibility mode) Given the following structure: <div id='something'>something</div> <div
Using jQuery validation plugin but it has no CSV validation. I have made an

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.