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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T14:25:31+00:00 2026-05-23T14:25:31+00:00

I am working with django now. And I write a javascript for my website,

  • 0

I am working with django now. And I write a javascript for my website, but now it seems that the website doesn’t act to changes of my javascript code.
Here is part of the code I have in the javascript file on my computer

$(document).ready(function() {
alert("fslfjsdlkf");
    // geocode
//if ($("input[name$='l']") && $("input[name$='l']").val() == '' && !$(".email")){
if(1>2){                            
    var geocoder;
    var latitude;
    var longitude;}

here is the code I get from the Developer tools of Chrome

$(document).ready(function() {
    // geocode
    if ($("input[name$='l']") && $("input[name$='l']").val() == ''){    
    var geocoder;
    var latitude;
    var longitude;
    var altitude;
    var user_location;  

You can see that the codes are different.

Also, the web page will act to my html code.
Another thing to add, I use git for this project.

Does anyone have an idea of the reason???
Thanks in advance!

  • 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-23T14:25:31+00:00Added an answer on May 23, 2026 at 2:25 pm

    I’ve run into similar problems with Django. It has to do with caching of static content. Try restarting your webserver and/or clearing your browser cache. Also, some more information about your setup would be helpful.

    • How are you running Django? What webserver and delivery method are you using?
    • What version of Django are you using? There have been some changes in the latest version (1.3) that affect how I would answer your problem.
    • If you are using 1.3, where are you putting the js? In the STATIC_ROOT or one the application static folders?
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I need to have an at-home project now that I'm working on Python/Django at
I'm working on a Django project. Let's call it myproject . Now my code
I have a standalone Django app that I'm working on right now. You can
I've had the admin site working for my django app before but now I
I've been working with Django for a while now (currently on version 1.2), but
I've been working on a django project for a while now that uses grappelli
I am working with Django for a while and now that my tree and
I am working on an django application that will return what historically was a
I'm working on a django app for a site that requires an image gallery.
I've recently begun working on Django and now my app is nearing completion and

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.