Click here to Skip to main content
11,413,961 members (76,024 online)
Rate this: bad
good
Please Sign up or sign in to vote.
See more: Java script
I want to change the font see this example code please
}
function reo(){
letters=new Array(10);
for(k=0;k<=9;k=k+1)
letters[k]=window.prompt("enter the first letter"+k+" ");
line1=new Array(10);
line1[0]=letters[0];
line1[1]=letters[1];
line1[2]=letters[2];
line1[3]=letters[3];
line1[4]=letters[4];
line1[5]=letters[5];
line1[6]=letters[6];
line1[7]=letters[7];
line1[8]=letters[8];
line1[9]=letters[9];
for(k=0;k<=9;k=k+1){
document.write(line1[k]);}

now see the last line here i want to change the default font of the line1[k] to noori1 urdu font. what should be the exact code.
Posted 20-May-12 6:16am
Edited 29-May-12 22:57pm
v2
Comments
TorstenH. at 21-May-12 2:34am
   
This makes no sense at all. An Array is a grouped number of values of any kind - a font is a visual option to a label/text. These do not match.

Please use the "improve Question" option to rewrite your question.
rehanfaruqi at 30-May-12 8:48am
   
Ihave explained it by an example, plz have a look.

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

  Print Answers RSS
0 OriginalGriff 379
1 Maciej Los 210
2 Sascha Lefévre 175
3 Kornfeld Eliyahu Peter 170
4 KARTHIK Bangalore 145
0 Sergey Alexandrovich Kryukov 9,035
1 OriginalGriff 7,387
2 Maciej Los 3,640
3 Abhinav S 3,298
4 Peter Leow 3,084


Advertise | Privacy | Mobile
Web01 | 2.8.150427.2 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2015
All Rights Reserved. Terms of Service
Layout: fixed | fluid

CodeProject, 503-250 Ferrand Drive Toronto Ontario, M3C 3G8 Canada +1 416-849-8900 x 100