Link to open jQuery Accordion

前端 未结 7 2332
臣服心动
臣服心动 2020-12-03 12:16

I\'m trying to open an accordion div from an external link. I see the \"navigation: true\" option but I\'m not sure how to implement it. Do you give each div an id and call

7条回答
  •  囚心锁ツ
    2020-12-03 12:33

    Hah, cracked it.

    Use the php get method. However there is an error in the one above. $("#accordion").accordion("activate", '');

    the php code needs the quotation marks removed.

    Works a treat now.

    Cheers

    Ian

提交回复
热议问题