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

  • SEARCH
  • Home
  • 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 7428561
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 29, 20262026-05-29T08:49:19+00:00 2026-05-29T08:49:19+00:00

Possible Duplicate: Making sure a web page is not cached, across all browsers I

  • 0

Possible Duplicate:
Making sure a web page is not cached, across all browsers

I am working on a simple dojo comboBox (dijit.form.ComboBox) connected to a dojo.store.Memory. I’m using the latest Netbeans and Glassfish setup, with Firefox 10. My problem is that when I change or comment out code related to the combobox, the changes don’t show up when I refresh the web page. I’ve tried clean/build, rerunning, etc, but commenting out the code seems to do nothing. Firefox seems to be running a cached version of the page, instead of rendering the latest code changes I’ve made. I don’t want to have to clear out the browser cache every time I refresh the page. (What I ultimately want to be able to do is dictate when the autoComplete turns on and off.) Any ideas?

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
    <head>
    <title></title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">                   
    <script src="http://ajax.googleapis.com/ajax/libs/dojo/1.7.1/dojo/dojo.js" type="text/javascript" ></script> 
    <script type="text/javascript">
        dojo.require("dijit.form.ComboBox");
        dojo.require("dojo.store.Memory");

        var myBox, store;
        dojo.ready(function(){makeComboBox();});

        function makeComboBox(){

            store = new dojo.store.Memory({
                data: [
                    {name:"Alabama", id:"AL"},
                    {name:"Alaska", id:"AK"},
                    {name:"American Samoa", id:"AS"},
                    {name:"Arizona", id:"AZ"},
                    {name:"Arkansas", id:"AR"},
                    {name:"Armed Forces Europe", id:"AE"},
                    {name:"Armed Forces Pacific", id:"AP"},
                    {name:"Armed Forces the Americas", id:"AA"},
                    {name:"California", id:"CA"},
                    {name:"Colorado", id:"CO"},
                    {name:"Connecticut", id:"CT"},
                    {name:"Delaware", id:"DE"}                        
                ]
            });                

            myBox = new dijit.form.ComboBox({                
                id: "stateSelect",
                name: "state",
                //value: "Alabama", 
                //store: store,  <-- the box is still connected to the store, 
                                 <--even if I comment it out
                searchAttr:"name"
            }, "stateSelect");
            //myBox.set("autoComplete", "false"); <-- this doesn't work either
        }
    </script>

<div id="myDiv"  >
    <input id="stateSelect" >
    <p><button onClick="alert(dijit.byId('stateSelect').get('value'))">get value</button></p>
</div>
  • 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-29T08:49:21+00:00Added an answer on May 29, 2026 at 8:49 am

    For speed FireFox caches the pages and the external files. To refresh and prevent the pulling the page from cache press Ctrl+F5.

    For more see this question.

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

Sidebar

Related Questions

Possible Duplicate: Making a generic property I'm not quite sure how to do that,
Possible Duplicate: Making a password lock for an app? hi i am working on
Possible Duplicate: Random number generator not working the way I had planned (C#) I
Possible Duplicate: Why not use tables for layout in HTML? Under what conditions should
Possible Duplicate: .NET - What’s the best way to implement a catch all exceptions
Possible Duplicate: Determine device (iPhone, iPod Touch) with iOS I am making a game
Possible Duplicate: Where can I learn web programming from start to mastery? I want
Possible Duplicate: Making a log4j console appender use different colors for different threads I
Possible Duplicate: C++ convert int and string to char* Hello, i am making a
Possible Duplicate: Why are references not reseatable in C++ I am trying to more

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.