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 6998873
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 27, 20262026-05-27T20:28:02+00:00 2026-05-27T20:28:02+00:00

I want to make a javascript file uploader. The location of css for this

  • 0

I want to make a javascript file uploader. The location of css for this uploader is “~/Scripts/fileuploader/fileuploader.css” and the js location is “~/Scripts/fileuploader/fileuploader.js” . I want to do the following:

<html>
<head>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
    <link href="~/Scripts/fileuploader/fileuploader.css" rel="stylesheet" type="text/css">
</head>
<body>      
    <div id="demo"></div>
    <ul id="separate-list"></ul>

    <script src="~/Scripts/fileuploader/fileuploader.js" type="text/javascript"></script>
    <script>
        function createUploader() {
            var uploader = new qq.FileUploader({
                element: document.getElementById('demo'),
                listElement: document.getElementById('separate-list'),
                action: '~/Scripts/fileuploader/do-nothing.htm'
            });
        }
        window.onload = createUploader;     
    </script>    
</body>
</html>

However, <link href="~/Scripts/fileuploader/fileuploader.css" and <script src="~/Scripts/fileuploader/fileuploader.js" become http://localhost:1304/Administration/blue/en-gb/Entity/Index/~/Scripts/fileuploader/fileuploader.js?_=1325540158292
and http://localhost:1304/Administration/blue/en-gb/Entity/Index/~/Scripts/fileuploader/fileuploader.js?

How can I change this so that it does ~/Scripts/fileuploader/fileuploader.js instead of http://localhost:1304/Administration/blue/en-gb/Entity/Index/~/Scripts/fileuploader/fileuploader.js

  • 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-27T20:28:02+00:00Added an answer on May 27, 2026 at 8:28 pm

    Why do you need to put that ~ symbol to there? If your html file (or php I don’t know) are at the place where that you mean with that ~ symbol, deleting ~/ symbols will solve the problem.

    <link href="Scripts/fileuploader/fileuploader.css" rel="stylesheet" type="text/css">

    <script src="Scripts/fileuploader/fileuploader.js" type="text/javascript"></script>

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I create a file in JavaScript. Now I want to be able to make
I am traversing a HTML document using javascript DOM. I want make a list
I want to make a variable length array in Javascript. Is this possible. A
Is there a helper of some sort? I want to make a javascript file,
When you execute following example using Firefox 3: <html> <head> <script language=javascript type=text/javascript> <!--
I want to make a JavaScript application that's not open source, and thus I
I have a method: myMethod() {} that I want to make accessible to javascript.
I want to make a link call a Javascript function through the onclick event
Suppose you want to make an async request in JavaScript, but you want to
I want to make a link in a PDF file that when clicked on

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.