Click here to Skip to main content
15,894,825 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
hello friend, I really need you help.

I built a client side, with Html+Javascript files, but I can't Write, insert and view Ar,He Languages in my browser. I want to change button value for example to he language instead of En. the browser doesn't display it !!!

here is my code:
HTML
<html lang="he">
<head>
    <title> Add/Remove dynamic rows in HTML table - css stylesheet and js Functions </title>

    <meta charset="utf-8">

    <script src="http://code.jquery.com/jquery-1.9.1.js"></script>
    <link rel="stylesheet" href="jquery.popup.css" type="text/css">
    <link rel="stylesheet" type="text/css" href="cssfile.css">
    <script type="text/javascript" src="jquery.popup.js"></script>
    <script src="jsFile.js"></script>
</head>
<body>
    <div id="div3">
        <table id="dataTable">
            <tr>
                <th> <input type="checkbox"> </th>
                <th> שם פרטי </th>
                <th> שם משפחה </th>
            </tr>
        </table>
    </div>
    <div id="div2">
        <input type="button" value="Delete Row" onclick="deleteRow('dataTable')" />
        <input id="addStuff" type="submit" class="js__p_start" value="Add Row" />
    </div>


    <div class="popup js__popup js__slide_top" style="margin-removed -230px;">
        <a href="#" class="p_close js__p_close" title="Close"></a>
        <div class="p_content">
            <h1>Add Person</h1>
            <hr>
            <p>שם פרטי:</p>
            <input type="text" id="fname" placeholder="First Name">
            <p>שם משפחה:</p>
            <input type="text" id="lname" placeholder="Last Name">
            <br />
            <input type="button" class="js__p_close" id="submit" value="Submit" onclick="addRow('dataTable')">

        </div>
    </div>
</body>
</html>
Posted
Comments
Kornfeld Eliyahu Peter 4-Dec-14 5:21am    
What browser? I put you code in a HTML page, changed button value to some hebrew and opened in various browsers (all desktop). Hebrew displayed as expected...
Member 10279189 4-Dec-14 5:56am    
ie 11 browser
and google chrome

W Balboos, GHB 8-Dec-14 14:32pm    
Kind of a simple-minded solution, but the quality of the output of text (of any type) will depend upon the font selected. Some scale well, some not so much. Try some additional fonts, perhaps.

Also, at least on Windows XP systems, there was a language bar which had a significant affect on how fonts are or are not displayed. Foreign font display was enabled through this. I have Hebrew and English enabled on my for those times when it all gets a bit fussy.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900