Jump to content

change text on radio button with jquerymobile jqm

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 post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

  • Create New...