Hi,

I am very new in writing javascript so please apologize for that if I am asking very simple things.
I am trying some thing like this but it's not working:

<script type="text/javascript">
    $(document).ready(function() {
        $("#accordion").accordion();
    });
    $(window).load(function() {
        $('#slider').nivoSlider(200);
    });
</script>

Please can anyone help me regarding this.

I have two div's in the html one div I want to rotate the picture whereas in second one I want accordion. For this to happen I am using jquery API's.

Thanks in advance.

---
Neetu

Use firebug in firefox or chrome's web development tool, see the console tab and you can see the specific error occured.

Be a part of the DaniWeb community

We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.