2 times onclick
2 times onclick
Out of context: Reply #2
- Started
- Last post
- 17 Responses
- heavyt0
i am guessing that you have two places in code where the onclick event is assigned to that ID. The second one will then cannibalize the first.
easiest thing is to have one function call the other one. So, your ajax function for instance would call the function for the collapse in it.function ajaxthing(){
...;
collapseDiv();
}