onchange load not working!
Hi
Is there something wrong with my code?
It doesn;t do anything! I put alert there and alert works! I checked the ids and they exist there too! Can't find out why its not working! I appreciate any help.
Thanks
- <script>
- $(document).ready(function() {
-
- $(function()
- {
- $("#category").change(function(e)
- {
- $("#subcategories_box").load("index.php",
- {
- 'category': $("#category").val()
- }
- );
- }
- );
- });
- });
- </script>