Jump to content

coder

Members
  • Content Count

    7
  • Joined

  • Last visited

Community Reputation

0 Neutral

About coder

  • Rank
    Newbie
  • Birthday 08/24/1952

Profile Information

  • Location
    New York, NY USA
  1. PROBLEM SOLVED ==============================================All I had to do, considering I'm in ASP.NET (IIS7 using .Net framework), was change the file extension (gethint.asp) to "gethint.aspx" and declare "q,i,hint" at the top of page.It's working now.Your help has been much appreciated.
  2. I have a website on my machine set up using IIS7 with ASP.NET. From there I set up an index home page with links for various asp.net example pages, also from w3schools tutorial site. I added the gethint AJAX example, recently, to the external links javascript and that's how I set it up for "testing."I just went in and changed the javascript using try/catch error checking like so:<script type="text/javascript"> function showHint(str){try {var xmlhttp;if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; }if (window.XMLHttpRequest) {// code for IE7+, Firefox
  3. The javascript is directly from the "Try it yourself" example link, on the left pane. Typing any letter in the right pane text box works on this site, so, we can assume that the javascript is intact. I am running the page like a "test" page to see if this works. No error messages appear when I try it. The page just sits there unresponsive to inputting.Thanks.
  4. Hello,I have copied and pasted the gethint example, on my home computer, from this webpage:http://www.w3schools.com/asp/asp_ajax_asp.aspThis is my HTML page with the java script:=======================================<html><head><title>Test Page :: ASP Arrays</title><link rel="stylesheet" type="text/css" href="css/aspStyle.css"/><script type="text/javascript">function showHint(str){var xmlhttp;if (str.length==0) { document.getElementById("txtHint").innerHTML=""; return; }if (window.XMLHttpRequest) {// code for IE7+, Firefox, Chrome, Opera, Safari xmlh
  5. I came across this a while back:article: "MSXML, It's Not Just for VB Programmers Anymore"http://www.perl.com/pub/a/2001/04/17/msxml.htmlSeems to be for win32 command line prompt window, though.I tried to make a CGI out of it with no luck. I'm sure it could be done.Give it a try.Good luck.Luis
  6. Rikardo:I just tested it with new 'sql' corrected statement and it worked.I like this "AJAX" feature that I never noticedmuch, before.Thanks very much.Luis
  7. Hello:I'm learning AJAX for the first time. I have Windows 2000 Professional OS on my machine. I activate the IIS server when I want to practice ASP. I have been trying to get the same results as at this page:http://www.w3schools.com/ajax/ajax_database.aspI've copied/pasted the corresponding scripts into their appropriate files.I copied the Northwind.mdb Access database to a directory (db) within my localhost's site.This is the area where there seems to be a problem:----------------- code -----------------<%sql="SELECT * FROM CUSTOMERS WHERE CUSTOMERID="sql=sql & request.querystring("q"
×
×
  • Create New...