[jQuery] Treeview expand on link clobbered by page load
I want to expand for a click on a link (>a), not just the little +
icon.
I tried modifying this
this.filter(":has(>ul)").find(">a,>span").unbind("click.treeview").bind
("click.treeview", function(event) {
to
this.filter(":has(>ul):not(:has(>a))").find(">span").unbind
("click.treeview").bind("click.treeview", function(event) {
And it tries to expand, I see a few child nodes drawn and expanded.
But then
the page reloads and the expand is lost.
I see other people using just the <span> for expandable nodes, but I'd
like to
have some content at the parent node level.
Thanks for any help!
Mark