Jump to content

change text on radio button with jquerymobile jqm


makata
 Share

Recommended Posts

The element does not have a class name of 'ui-btn-text' also having space between "label[for=pick]" and "ui-btn-text" means it will try to target a child element, i think the main problem is it wouldn't be able to see the class anyway, as it does not exist when triggered

 

$("label[for=pick]").html("new text");

 

should work fine, as the selector is seen in both cases.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...