I tried to prevent history stack change and dont know if i was successfull

I tried to prevent history stack change and dont know if i was successfull

Hello!

I got a few links for interaction only. The links should display the servers html result but not change the history stack. acting more like an input form...

For simplicity i wouldnt write javascript event code for handling stuff. So i started with this html markup.

<a href="/bla/fourtytwo/hangman" data-changepage="false">change form values</a>

I've implemented my new data attribute changepage in jquery.mobile.navigation.js.
It seems to work but because i dont have a glimpse about jqm core and even javascript at all i am absolutely not sure if this thing really works or is producing evil side effects. So it will be totally cool if someone can help me, give a hint.

https://github.com/hiroprotagonist/jquery-mobile/commit/55b7618fbf1d668740831f5567fa149bf3ba81d5

cheers