Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. SharePointPunk

    Methods with Object Constructors

    Thank you for your time but I am trying to practice using methods in constructors.
  2. SharePointPunk

    Methods with Object Constructors

    I am trying to write a simple method to add to my object constructor. All the standard property's work fine but I cant get the method to return anything. I am not sure if it needs to be a prototype since its inside a constructor. Thanks for your help! I am running "console.log(HR.Info);"...
  3. SharePointPunk

    Returning a Private Var

    Ok thanks for your help I get it now. For some reason I believed firebug was able to run standalone .js Thanks for clearing it up for me. Also just to answer your question vacunita, I was referencing a js file on my desktop with the firefox browser.
  4. SharePointPunk

    Returning a Private Var

    The code works fine for me when I put it in script tags and save it as html, but when I try it as a .js file it returns undefined. Are you saving it as .html with script tags or running it as is? that exact code saved as a .js file returns undefined in the latest version of firefox and firebug.
  5. SharePointPunk

    Returning a Private Var

    Feherke, did you save it as a html file or js file? I tried putting script tags around the js and saved it as html and retried it in firebug and it worked. Do most of you experience firebug users add script tags around your JS and save it as html before testing?
  6. SharePointPunk

    Returning a Private Var

    Hey guys I am new to debugging JavaScript in firebug and am trying to do something pretty basic and getting frustrated. here is my code that I am loading in firebug //Code Starts function Person(first,last,age){ this.firstname = first; this.lastname = last; this.age = age; var bankBalance =...

Part and Inventory Search

Back
Top