Skip to main content
This forum is closed to new posts and responses. New discussions are now taking place in the IBM Developer Answers forum.
Information Mgmt
New to Lotus
How to buy
Live demos
Technical library
Forums & community
Java™ technology
Open source
SOA and Web services
Web development
My developerWorks
About dW
Submit content

developerWorks  >  Lotus  >  Forums & community  >  Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum



PreviousPrevious NextNext

RE: xmlhttprequest
Rich Schwartz 11.Oct.12 01:28 PM a Web browser
Applications Development All Releases All Platforms

It's been a long time since I did any AJAX, and I never got as deeply into it as I might have wanted, but my recollection is that the pattern was that the variable containing the XMLHttpRequest object is global. You have yours inside the function. Bear in mind that you still have a big issue with multiple requests using a global -- I wrote a couple of blog posts about that years ago. Take a look at the code in the comment by John Wehr on the post linked below. His is a much better solution than mine. There's also a comment by JaGx which refers to what I think is really the preferred way, using a local variable in an anonymous function -- but I'm a little too out of touch with it right now to say for sure.

Here's the blog post:

xmlhttprequest (sai k rishna595... 11.Oct.12)
. . Install a tool like firebug on your... (Carl Tyler 11.Oct.12)
. . RE: xmlhttprequest (Rich Schwartz 11.Oct.12)
. . RE: xmlhttprequest (Gary Roberts 11.Oct.12)
. . . . RE: xmlhttprequest (sai k rishna595... 12.Oct.12)
. . . . . . And what do you see when you step t... (Carl Tyler 12.Oct.12)
. . . . . . . . RE: And what do you see when you st... (sai k rishna595... 12.Oct.12)
. . . . . . . . . . RE: And what do you see when you st... (Rich Schwartz 12.Oct.12)
. . . . . . . . . . RE: And what do you see when you st... (Carl Tyler 12.Oct.12)
. . . . . . . . . . . . RE: And what do you see when you st... (Stan Rogers 12.Oct.12)

Document Options

  Document options
Print this pagePrint this page

Search this forum

Forum views and search

  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Advanced search

Member Tools

RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS
More Lotus RSS feeds


Forum use and etiquette
Native Notes Access
Web site Feedback

Lotus Support

 Lotus Support
IBM Support Portal - Lotus software
Lotus Support documents
Lotus support by product
Lotus support downloads
Lotus support RSS feeds


IBM Composite Applications
IBM Mashup Center
IBM Connections
IBM Connections Cloud Developers
IBM Docs
IBM Forms
IBM Mobile Connect
IBM Sametime
IBM SmartCloud for Social Business
IBM Web Experience Factory
Lotus Domino
Lotus Domino Designer
Lotus Expeditor
Lotus Foundations
Lotus iNotes
Lotus Instructor Community Courseware
Lotus Notes
Lotus Notes & Domino Application Development
Lotus Notes Traveler
Lotus Protector
Lotus Quickr
Lotus Symphony
IBM Web Content Manager
WebSphere Portal

Lotus Forums

 Lotus Forums
Notes/Domino 9.0
Notes/Domino 8.5 + Traveler
Notes/Domino XPages development forum
Notes/Domino 8
Notes/Domino 6 and 7
IBM Connections
IBM Mobile Connect
IBM Sametime
IBM SmartCloud Notes
Lotus Enterprise Integration
Lotus Protector
Lotus Quickr
Lotus SmartSuite