...

View Full Version : JavaScript file



Sajad
09-03-2011, 07:07 AM
Dear All

I have a .js file in which i have pasted Urdu text and HTML tags like

function urdutext()
{

innerHTML.right_column='HTML tags & urdu text';}

The .js file contains about eighty lines of urdu text and some HTML tags in betweeen.

But when i run this file alone in my browser it displays half of the file and the rest of the lines remain undisplayed.

and when i use this file in my web page and when i click a button to display the urdu text, it dispays nothing in my web page.

I know the reason but i cant solve it my self.

The reason is that the .js file does not get fully uploaded and hence the file remains open and the syntax become wrong. And that is the reason it does not display anything in the web page.

So i want ut help. Any one can help and would take my best wishes.

Regards
Sajad Bhatt

Sajad
09-03-2011, 07:10 AM
Dear All

I have a .js file in which i have pasted Urdu text and HTML tags like

function urdutext()
{

innerHTML.right_column='HTML tags & urdu text';}

The .js file contains about eighty lines of urdu text and some HTML tags in betweeen.

But when i run this file alone in my browser it displays half of the file and the rest of the lines remain undisplayed.

and when i use this file in my web page and when i click a button to display the urdu text, it dispays nothing in my web page.

I know the reason but i cant solve it my self.

The reason is that the .js file does not get fully uploaded and hence the file remains open and the syntax become wrong. And that is the reason it does not display anything in the web page.

So i want ut help. Any one can help and would take my best wishes.

Regards
Sajad Bhatt[/QUOTE]



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum