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 TouchToneTommy 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: *

  • Users: isporter
  • Content: Threads
  • Order by date
  1. isporter

    functions in a <script runat=server> work, but not variables - why?

    Hi, throw the following example into a text file, save with an ASP extension, and execute it in IIS6/7. Can anyone explain why Test 1 works fine, and Test 2 returns undefined? Is it something to do with variable scope? Thanks, Iain <%@ language="javascript"%> <script type="text/javascript"...
  2. isporter

    Help with AJAX and Authentication

    I'm developing an eCommerce application. A page's content is written to the page from the server, to ensure the search engines see it. On the client-side, I add event handlers to various elements on the page. Some of these event handlers should only be present if the user is logged in - i.e...
  3. isporter

    &lt;script runat=server&gt;&lt;/script&gt; produces vars being undefined - why?

    I plan to create an object in a javascript file, and then use that object and it's methods on both the server and the client side. Assume an ASP file with the code 'var product = new Product();' The following declaration in the javascript file works fine: function Product () {} function...
  4. isporter

    OOP, object literal notation, and the 'new' operator

    How do you have multiple child objects of a parent object? Consider the following object declaration: var parent={ childCount: 0, child: { id:false, init: function() { alert(this.id); parent.childCount++; this.id = parent.childCount...

Part and Inventory Search

Back
Top