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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T13:16:41+00:00 2026-05-23T13:16:41+00:00

I am using plugin jquery-1.4.2.min.js and extension jquery.price_format.js for format price but output result

  • 0

I am using plugin jquery-1.4.2.min.js and extension jquery.price_format.js for format price but output result is null

<script type="text/javascript">
$('#price').priceFormat({
    prefix: 'USD$ ',
    centsSeparator: ',',
    thousandsSeparator: '.'
});
</script>

input: <input type="text" name="price" id="price" value=""/>
ouput: 123456
But result exactly demo is: USD$ 123,456.00
Help me

  • 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-23T13:16:41+00:00Added an answer on May 23, 2026 at 1:16 pm

    try adding this code under the document.ready function .

    like this………….

    <script type="text/javascript">
    
    $(document).ready(function(){
    
        $('#price').priceFormat({
           prefix: 'USD$ ',
           centsSeparator: ',',
           thousandsSeparator: '.'
        });
    
    });
    
    </script>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm using the following jQuery plugins (along with the jQuery plugin): <script type=text/javascript src=scripts/jquery.scrollTo-min.js></script>
<!DOCTYPE html> <html> <head> <title></title> <script src=assets/js/jquery.js type=text/javascript></script> <script src=assets/js/jquery.validate.min.js type=text/javascript></script> <script type=text/javascript> $(document).ready(function()
I'm using the plugin http://bassistance.de/jquery-plugins/jquery-plugin-tooltip/ to create tooltips with JQuery but I can't created
Using the jQuery cycle plugin: jquery.cycle.all.min.js - latest version (2.8.8) from http://malsup.com/jquery/cycle/ I'm utilizing
i am using jQuery colorbox plugin. it is true with asp.net page but not
I'm trying to load in the jQuery template plugin using jQuery.getScript, but even though
I am using the jquery.watermark.min.js plugin. I just recently noticed that it is submitting
I am using Jquery Ui plugins jquery-1.3.2.min.js and jquery-ui-1.7.1.custom.min.js and now i want to
Using jQuery timepickr: http://archive.plugins.jquery.com/project/jquery-timepickr Having included these files: jquery-1.7.1.min.js jquery-ui-1.8.21.custom.min.js ui.timepickr.js And getting this
I'm using this plugin for jquery called resize-crop: http://code.google.com/p/resize-crop/ The problem with this 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.