Ticket #10542 (closed bug: invalid)
Adding data-role=button to asp.net button control causes exception in IE8 and IE9
| Reported by: | shahid.zaman@… | Owned by: | |
|---|---|---|---|
| Priority: | undecided | Milestone: | None |
| Component: | unfiled | Version: | 1.6.4 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
I am using JQuery 1.6.4 and JQuery mobile 1.0 RC2 and when I add data-role="button" to an asp.net button control I get a null object exception in IE8 and IE9. If I do not add data-role="button" to the control, I get another bug in IE where the areas other than the icon of the button does not receive a click:
<asp:Button ID="LoginBtn" data-role="button" runat="server" Text="Login" data-inline="true"
data-icon="check" data-iconpos="right" data-theme="b" />
The error I get is:
Unexpected call to method or property access in jquery-1.6.4.min.js
Can anyone confirm that this is a bug?
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

If this problem only occurs in jQuery Mobile, please report the bug at their bug tracker. Check the existing issues to see if it's already been reported.
* They will need a test case as well, using the non-minified scripts. *
https://github.com/jquery/jquery-mobile/issues