Web Analytics Made Easy -
StatCounter JavaScript file - CodingForum

Announcement

Collapse
No announcement yet.

JavaScript file

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • JavaScript file

    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
    Last edited by Sajad; Sep 3, 2011, 03:09 AM.

  • #2
    Javascript

    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]

    Comment

    Working...
    X