Skip to main content

Bug Tracker

Side navigation

#10542 closed bug (invalid)

Opened October 20, 2011 01:10PM UTC

Closed October 20, 2011 09:34PM UTC

Adding data-role=button to asp.net button control causes exception in IE8 and IE9

Reported by: shahid.zaman@docobo.co.uk Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.6.4
Keywords: Cc:
Blocked by: Blocking:
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?

Attachments (0)
Change History (1)

Changed October 20, 2011 09:34PM UTC by dmethvin comment:1

resolution: → invalid
status: newclosed

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