Javascript Ajax jQuery Html PHP Example Quiz New MORE
Need a Website Or Web Application Or Any Help.Contact Us: +91 9437911966 (Whatsapp) Note: Paid Service

How To Convert Text To EURO in jQuery

<!Doctype html>
<html>
<head>
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/3.2.1/jquery.min.js"></script>
</head>
<body>
    <label>Number of Shares:</label><input name="shares" id="shares" type="text" />
    <br /> Total Value: € <span id="result"></span>
    <script>
        $(document).ready(function() {
            $('#shares').keyup(function() {
                $('#result').text($('#shares').val() * 1.5);
            });
        });
    </script>
</body>
</html>

Run it yourself

Demo


Total Value: €

Download Source Code