[WSG] First Ajax problem

2007-11-01 Thread Michael Horowitz
I am working on my learning Ajax and just copied an example from 
http://www.w3schools.com/php/php_ajax_database.asp but I am finding it 
isn't working.  I am trying to think how to debug what I may be doing 
wrong.  I am working in a unix environment.  I've never worked with 
Javascript much (really just copying and pasting existing code)


--
Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] First Ajax problem

2007-11-01 Thread Michael Horowitz
Strange to be answering my own post but I have done some more testing.  
I have verified the PHP page that Ajax calls works correctly by running 
it separate.  I have also verified AJAX works on my browser by running 
another ajax script.  For some reason this script is not being called by 
the browser.


Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Michael Horowitz wrote:
I am working on my learning Ajax and just copied an example from 
http://www.w3schools.com/php/php_ajax_database.asp but I am finding it 
isn't working.  I am trying to think how to debug what I may be doing 
wrong.  I am working in a unix environment.  I've never worked with 
Javascript much (really just copying and pasting existing code)





***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] First Ajax problem

2007-11-01 Thread Michael Horowitz
Thanks I actually found firebug and did resolve my problem. 


Michael Horowitz
Your Computer Consultant
http://yourcomputerconsultant.com
561-394-9079



Christian Montoya wrote:

On 11/1/07, Michael Horowitz [EMAIL PROTECTED] wrote:
  

Strange to be answering my own post but I have done some more testing.
I have verified the PHP page that Ajax calls works correctly by running
it separate.  I have also verified AJAX works on my browser by running
another ajax script.  For some reason this script is not being called by
the browser.




Firebug lets you debug javascript:
http://addons.mozilla.org/firefox/1843

usually when an AJAX call isn't happening it's because your JS has an
error and it's stopping early.


  



***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***



Re: [WSG] First Ajax problem

2007-11-01 Thread Breton Slivka
You may also be  running into the same domain policy,

On 11/2/07, Christian Montoya [EMAIL PROTECTED] wrote:
 On 11/1/07, Michael Horowitz [EMAIL PROTECTED] wrote:
  Strange to be answering my own post but I have done some more testing.
  I have verified the PHP page that Ajax calls works correctly by running
  it separate.  I have also verified AJAX works on my browser by running
  another ajax script.  For some reason this script is not being called by
  the browser.
 

 Firebug lets you debug javascript:
 http://addons.mozilla.org/firefox/1843

 usually when an AJAX call isn't happening it's because your JS has an
 error and it's stopping early.


 --
 --
 Christian Montoya
 christianmontoya.net


 ***
 List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
 Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
 Help: [EMAIL PROTECTED]
 ***




***
List Guidelines: http://webstandardsgroup.org/mail/guidelines.cfm
Unsubscribe: http://webstandardsgroup.org/join/unsubscribe.cfm
Help: [EMAIL PROTECTED]
***