Results 1 to 3 of 3

Thread: How I include a .txt or script file in javascript code (non html code) ?

  1. #1
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default How I include a .txt or script file in javascript code (non html code) ?

    I want to build my own library of wmlscript functions, how do it ?
    How include this library in an Application ?
    And to call function I must use:
    mylib.myfunction();
    or
    mylib#myfunction(); ?

    How I include a .txt or script file in javascript code (non html code) ?
    I reference methods of objects in such included files using myobject.mymethod(); ?

  2. #2
    Join Date
    Jan 2008
    Posts
    4,167
    Thanks
    28
    Thanked 628 Times in 624 Posts
    Blog Entries
    1

    Default

    Can you use proper grammar please, try running your text through Word. That should check grammar for you. I've got no clue what your trying to say.
    Jeremy | jfein.net

  3. #3
    Join Date
    Oct 2004
    Posts
    425
    Thanks
    4
    Thanked 1 Time in 1 Post

    Default

    WML/WMLScript questions
    I want to build my own library of wmlscript functions, how do it ?
    How I include this library in a Mobile Application ?
    And to call a function I must use:
    mylib.myfunction();
    or
    mylib#myfunction(); ?
    javascript questions
    How I include a .txt or script file in javascript code (non in html code) ?
    I reference methods of objects in such included files using myobject.mymethod(); ?
    What if there are conflicts between objects/methods, between "script" and "included script" ?
    Last edited by leonidassavvides; 10-27-2008 at 05:21 AM. Reason: addition

Bookmarks

Posting Permissions

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