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 6817459
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T21:03:30+00:00 2026-05-26T21:03:30+00:00

So playing with jquery autocorrect. And it works great example: var defaults = {

  • 0

So playing with jquery autocorrect.

And it works great example:

var defaults = {
        corrections: {
            gr8: "great",
            taht: "that",
            ur : "you are",
            arent: "are not"
    }
};

So as user types the word gr8 the script listens for spacebar, and once detected alters the word to its correct replacement.

The issue I have is, we dont want to use word replacements, we want to use unicode replacement similar to this:

 var defaults = {
        corrections: {
            rain: 'u+2602;'
    }
};

So if the user types the word rain it gets replaced with the u+2602 ( but displays the ascii image )

What am I doing wrong, I presume its because this type of script can only parse strings..

Original script here

I dont need anyone to create this for us, just want to know how to echo the symbol .

  • 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-05-26T21:03:31+00:00Added an answer on May 26, 2026 at 9:03 pm

    You should be able to just use '\u2602' and have that do the Right Thing.

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

Sidebar

Related Questions

I'm playing around with writing a jQuery plugin that uses an attribute to define
Ive been playing with some jQuery script that was originally written using 1.2.6. I
I'm playing with a few samples to learn jQuery. I made an example to
I am playing with this example of the jQuery UI Slider: http://jqueryui.com/demos/slider/rangemin.html I'd like
Playing with jquery for the first time, and I'm trying to get a simple
I've been playing with jquery and I've run myself into a time problem. I've
I've been playing with jQuery in an ASP.NET project and am finding some odd
Recently I have started playing with jQuery, and have been following a couple of
So I have been playing with jQuery for a good time now and I'm
http://removed.com/jquery/# First time playing with jQuery, and kind of stuck already. I'm expecting the

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.