Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8588397
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 11, 20262026-06-11T22:47:35+00:00 2026-06-11T22:47:35+00:00

I am looking to use the delete icon that is built-in to jQuery Mobile.

  • 0

I am looking to use the delete icon that is built-in to jQuery Mobile.

I know how to use buttons, you just use data-role – but I want to use it inside a plain old span or div.

Is there a way to do this?

Thanks

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-11T22:47:36+00:00Added an answer on June 11, 2026 at 10:47 pm

    You can just use a div with the classes specified, for example

    <div class="ui-icon ui-icon-delete"></div>
    

    Update:

    The style-sheets for JQM have changed since this was first posted, you can get the same affect by adding the ui-btn-icon-notext class to your element (at least as of JQM 1.4.5). Additionally you might need to add a position:relative; to get it positioned correctly.

    For example

      <span class="ui-btn-icon-notext ui-icon-delete" style="position:relative" />
    

    Here’s a link to the relevant API

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am looking to use jquery to search for a certain string that gets
I'm looking to use jquery token input but I need the token list to
I'm looking to use jQuery's .load() or .get() functions to replace AJAX, I've got
I am looking for a way to delete only certain amounts of SESSION data
I am looking on trying to use acts_as_paranoid plugin for soft delete of records.
I use SQL Server 2008 R2. I'm looking for a feature that I describe
I am looking to use CloudConfigurationManager so I can take advantage of Azure configuration
We are looking to use GIT to help manage our web files as we
I'm looking to use some framework to help generate java client bindings based on
I am looking to use an IOC container in my current project which is

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.