1 Replies - 1311 Views - Last Post: 16 February 2012 - 05:35 AM Rate Topic: -----

#1 Dormilich  Icon User is online

  • 痛覚残留
  • member icon

Reputation: 3541
  • View blog
  • Posts: 10,232
  • Joined: 08-June 10

I write the code, you write the fix

Posted 16 February 2012 - 02:06 AM

I "love" it when people (claim to) write code but are not able to adapt a simple example to fix their code:

Quote

I have written the AJAX script as follows:
function getContent(url)
{
 try
 {
  asyncRequest=new XMLHttpRequest();
  asyncRequest.onreadystatechange = stateChange;             
  asyncRequest.open('GET',url,true);
  asyncRequest.send(null);
 }
 catch(exception)
 {
  alert('Request Failed');
 }
}

after a short while we figured out he was using IE 6. The solution is known (ActiveX) and I pasted the solution example from Wikipedia.

next thing to post:

Quote

Any one please execute the correct code and and send it back to me. Still I am struggling to execute.

WTF? I gave him a sufficient explanation right away.

but it gets better. a couple of posts later:

Quote

What was the mistake done by me?

... obviously I can neither read nor write code ...

Is This A Good Question/Topic? 2
  • +

Replies To: I write the code, you write the fix

#2 Gamma Ray  Icon User is offline

  • D.I.C Head

Reputation: 12
  • View blog
  • Posts: 136
  • Joined: 24-September 10

Re: I write the code, you write the fix

Posted 16 February 2012 - 05:35 AM

There, there... There, there... :tooth:
Was This Post Helpful? 0
  • +
  • -

Page 1 of 1