views:

39

answers:

0

What I am trying to do is create a input box, where users can select a number, utilizing the spin plugin to help along with the process. Outside of a Facebox modal the code works great, inside it does not. Anything appear to be out of the ordinary here?

<script type="text/javascript" src="resources/scripts/jquery-1.3.2.min.js"></script>
<script src="http://www.promptpass.com/admin/scripts/jquery-spin.js"&gt;&lt;/script&gt;
<script>
    $(document).ready(function(){
        $.spin.imageBasePath = './images/spin1/';
        $('#patientsInClinic').spin({
            max: 25,
            min: 0
        });
    });
</script>

Sorry for the poor code formatting, for some reason it would not let me put it all in properly. Anyways it seems like this code works perfectly without outside of Facebox, but somehow when used together, facebox breaks jquery. Given my code above (and yes I understand you don't see facebox referenced in the code) any ideas on how to fix this?