I use \[code\]jquery.ui.selectmenu.js\[/code\] plugin for custom selects on my website.
My select has binded onchenge event which does \[code\]$(this).closest('form').submit();\[/code\]
The problem is that in Opera it does not submit the form - it redirects to index page and adds \[code\]#nogo\[/code\] to url.
I find the reason in plugin.
There are such pieces of code there:\[code\] this.newelement = $( '<a />', { 'class': this.widgetBaseClass + ' ui-widget ui-state-default ui-corner-all', 'id' : this.ids[ 1 ], 'role': 'button', 'href': '#nogo', 'tabindex': this.element.attr( 'disabled' ) ? 1 : 0, 'aria-haspopup': true, 'aria-owns': this.ids[ 2 ] });\[/code\]The question is - what should I replace \[code\]#nogo\[/code\] with to fix it ?
Thanks.
My select has binded onchenge event which does \[code\]$(this).closest('form').submit();\[/code\]
The problem is that in Opera it does not submit the form - it redirects to index page and adds \[code\]#nogo\[/code\] to url.
I find the reason in plugin.
There are such pieces of code there:\[code\] this.newelement = $( '<a />', { 'class': this.widgetBaseClass + ' ui-widget ui-state-default ui-corner-all', 'id' : this.ids[ 1 ], 'role': 'button', 'href': '#nogo', 'tabindex': this.element.attr( 'disabled' ) ? 1 : 0, 'aria-haspopup': true, 'aria-owns': this.ids[ 2 ] });\[/code\]The question is - what should I replace \[code\]#nogo\[/code\] with to fix it ?
Thanks.