Hi friends..... Can help me to make calculator roma.php? calculator roma is : 1 = I 5 = V 10 = X its my php, but not working <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> <script src="javascript/jquery.js" type="text/javascript" language="javascript"></script> <title></title> <script language="javascript"> function initValueNum(num) { $("#txtNum").val($("#txtNum").val()+num); } function initValueOpr(opr) { if(opr!="=") { $("#txtOpr").val(opr); } else { $("#txtNum2").val($("#txtNum").val()); $.ajax({ type: "POST", url: "kal.php", data:{txtNum1:$('#txtNum1').val (),txtNum2:$('#txtNum2').val(),txtOpr:$('#txtOpr').val()}, cache: false, success: function(data) { $('#txtNum').val(data); $("#txtNum1").val(""); $("#txtNum2").val(""); } }); } if($("#txtNum1").val()=="") { $("#txtNum1").val($("#txtNum").val()); } else { $("#txtNum2").val($("#txtNum").val()); } $("#txtNum").val(""); } function ce() { //alert("a"); $("#txtNum").val(""); $("#txtNum1").val(""); $("#txtNum2").val(""); $("#txtOpr").val(""); } </script> </head> <body> <form name="form1" method="post" action="index.php"> <table border="1"> <tr> <td colspan=4> <h1>Kalkulator Romawi</h1></td> </tr> <tr> <td colspan=4><input type="text" name="txtNum" id="txtNum" size=38 readonly style="text-align:right"/><input type="hidden" name="txtNum1" id="txtNum1" size=38/><input type="hidden" name="txtOpr" id="txtOpr" size=38/><input type="hidden" name="txtNum2" id="txtNum2" size=38/></td> </tr> <tr> <td colspan=4><input type="button" value=" CE " onclick="ce()" /></td> </tr> <tr> <td width="65" align="center"> <input type="button" value=" M " onclick="initValueNum('M')" /> </td> <td width="65" align="center"> <input type="button" value=" D " onclick="initValueNum('D')"/> </td> <td width="65" align="center"> <input type="button" value=" C " onclick="initValueNum('C')"/> </td> <td width="51" align="center"> <input type="button" value=" + " onclick="initValueOpr('+')"/> </td> </tr> <tr> <td align="center"> <input type="button" value=" L " onclick="initValueNum('L')"/> </td> <td align="center"> <input type="button" value=" X " onclick="initValueNum('X')"/> </td> <td align="center"> <input type="button" value=" V " onclick="initValueNum('V')"/> </td> <td align="center"> <input type="button" value=" - " onclick="initValueOpr('-')"/> </td> </tr> <tr> <td align="center"> <input type="button" value=" I " onclick="initValueNum('I')"/> </td> <td align="center"> <input type="button" value=" ÷ " onclick="initValueOpr('/')"/> </td> <td align="center"> <input type="button" value=" × " onclick="initValueOpr('x')"/> </td> <td align="center"> <input type="button" value=" = " onclick="initValueOpr('=')"/> </td> </tr> </table></form> </body> </html> please healp me