<
a
href
=
"#moreModalView"
data-rel
=
"modalview"
id
=
"moreButton"
data-role
=
"button"
>More...</
a
>
<
div
data-role
=
"modalview"
id
=
"hoursModalView"
>
<
div
data-role
=
"header"
class>
<
div
data-role
=
"navbar"
>
<
span
>More Info</
span
>
</
div
>
</
div
>
<
p
style
=
"text-align:center; margin-top:10px;"
>Hours</
p
>
<
a
data-click
=
"closeModalView"
data-role
=
"button"
data-align
=
"right"
>Close</
a
>
</
div
>
I have a ModalView as seen above. However, if I remove the data-role="button" from the link, clicking the link does not do anything. It actually prevents any scrolling and the back button in my header from working.
The ModalView div is inside the View div that the link is in.
This is all part of a Phonegap App.
Any ideas as to why this might happen?