Click here to Skip to main content
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 240
1 Kamal Rocks 184
2 BillWoodruff 173
3 PIEBALDconsult 160
4 CPallini 155
0 OriginalGriff 5,695
1 DamithSL 4,506
2 Maciej Los 4,007
3 Kornfeld Eliyahu Peter 3,480
4 Sergey Alexandrovich Kryukov 3,180


Advertise | Privacy | Mobile
Web04 | 2.8.141216.1 | Last Updated 30 May 2012
Copyright © CodeProject, 1999-2014
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