Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

remove comma from string jquery

<html lang="en">
<head>
    <title>Jquery remove comma from string - NiceSnippets.com</title>
    <script src="//ajax.googleapis.com/ajax/libs/jquery/1.9.1/jquery.js"></script>
</head>
<body>
    <script type="text/javascript">
        $(document).ready(function() {
            var myStr = "Welcome, To NiceSnippets.com";
            myStr = myStr.replace(/,/g, "");
            alert(myStr);
        });
    </script>
</body>
</html>
Source by www.nicesnippets.com #
 
PREVIOUS NEXT
Tagged: #remove #comma #string #jquery
ADD COMMENT
Topic
Name
2+2 =