I am working with dojo 1.6 and created a page containing only a combobox.
When I run it on Firefox 3.5 it works and all the theme related things and functionality of dojo is working fine.
But in Firefox 3.6 and chrome latest, theme and functionality(autosearch) of combobox is not working.
Here is my code:
<head>
<script type="text/javascript" src="dojo/dojo.js" djconfig="parseOnLoad: true"></script>
<script type="text/javascript">
dojo.require("dijit.form.ComboBox");
dojo.require("dijit.form.Button");
</script>
<link rel="stylesheet" type="text/css" href="dijit/themes/tundra/tundra.css" />
<link rel="stylesheet" type="text/css" href="dijit/themes/tundra/form/Common.css" />
<link rel="stylesheet" type="text/css" href="dijit/themes/tundra/form/Button.css" />
</head>
<body class="tundra">
<p>Combox Box</p>
<select dojoType="dijit.form.ComboBox" id="fruit" name="fruit">
<option> Apples </option>
<option> Apricot </option>
<option> Aarro </option>
<option selected> Oranges </option>
<option> Pears </option>
<option> Mango </option>
<option> Banana </option>
</select>
<button dojoType="dijit.form.Button" type="button">Click Me</button>
</body>
Works fine in every browser… if accessed via http://, and not locally with file://. Try to view your page via http, either by uploading it to a remote server, or by using a local LAMP installation (XAMPP is great for development, and only runs when you explicitly request it to do so, so won’t bog your system).
PS – I don’t think you need these two lines:
because these are automatically loaded for you.