dhtmlxMenu not playing nice with hash tags (#) aka anchors

Hey there,

I’ve been having issues with using the menu when I have links in the form of a hash tags. For example “/#!/cms/1”.

Now, it doesn’t (completely) break with Firefox and Google Chrome, but does in IE8, here’s what I’m getting:

  • In Chrome, dhtmlxmenu is changing the href to “/?#!/cms”
  • In Firefox, dhtmlxmenu seems to render it just fine, either that or Firefox just doesn’t show it
  • In IE8, dhtmlxmenu returns me to “/”

I’m not sure if this has to do with the “?” it’s injecting or what… Any suggestions?


probably you need to encode # to %23