Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2

Thread: JavaScript file

  1. #1
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Unhappy 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; 09-03-2011 at 08:09 AM.

  • #2
    New to the CF scene
    Join Date
    Aug 2011
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    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]


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •