[jQuery] f has no properties

[jQuery] f has no properties


I have some simple jquery code that works fine in standalone tests, but
errors when integrated into a larger project. I have noticed in the larger
project, FireBug reports "f has no properties" on line 14 of the main jquery
lib. Even though my standalone test calls the exact same copy (and it
doesn't matter whether it's a local copy or the one from
http://jquery.com/src/latest.js), FireBug doesn't report that error.
Can someone shed some light on this for me? This is all I'm doing:
        <script type="text/javascript">    
        $(document).ready(function(){
            $("#topicswitch").bind("change",function(){
                alert(this.value);
            });
        });
        </script>
        <form>
            <select id="topicswitch" name="select">
                <option value="topstories" selected>Top Stories</option>
                <option value="us">U.S. National</option>
                <option value="world">World</option>
                <option value="tech">Technology</option>
                <option value="sports">Sports</option>
                <option value="entertainment">Entertainment</option>
                <option value="health">Health</option>
                <option value="oddlyenough">Odd News</option>
                <option value="science">Science</option>
            </select>
        </form>        
I guess something else in the larger page is interfering and causing the
error, but I don't know enough about jquery to understand why, and why the
error appears to be within the main lib and not my code...
Thanks,
Jason
--
View this message in context: http://www.nabble.com/f-has-no-properties-tf2158966.html#a5965057
Sent from the JQuery forum at Nabble.com.
_______________________________________________
jQuery mailing list
discuss@jquery.com
http://jquery.com/discuss/