I use smartGWT component in a big application, and I cant use href=“#” there. A click on href=“#” (in arrow icon) makes a form submit.
I want to change it to href=“javascript:void()” - to make it act like an empty link
Please think about what you’re saying If this was actually the case the SmartGWT showcase and all samples would simply be broken, they would be doing page transitions all over the place. Again, something is wrong in your particular environment.
Not sure how to rephrase to make this clear - this is not a SmartGWT problem. You have something in your application which causes a page transition on this click. This does not happen normally with SmartGWT or the many other frameworks that use similar techniques. You are “barking up the wrong tree” as they say and you need to look at what part of your application is somehow reloading the page when that icon is clicked on.