<!DOCTYPE html> <html> <head> <script> var student={ "studentId":301, "studentName":"Bar�� Man�o", "averageMark": 2.70 }; function initalizeForm(){ var studentForm=document.forms["studentForm"]; studentForm["studentId"].value=student.studentId; studentForm["studentName"].value=student.studentName; studentForm["averageMark"].value=student.averageMark; } </script> </head> <body onload="initalizeForm()"> <h1>JSON Form �rne�i</h1> <form name="studentForm"> ��renci Kim <input type="text" name="studentId" disabled="disabled"/><br/> ��renci Ad� <input type="text" name="studentName"/><br/> Ortalama Not <input type="text" name="averageMark"/><br/> <input type="submit" value="G�nder"/> </form> </body> </html>Dosyayı İndir