Click here to Skip to main content
15,894,896 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I want to change the font see this example code please
C#
}
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
Updated 29-May-12 21:57pm
v2
Comments
TorstenH. 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 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)



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