Jump to content
MakeWebGames

Need help with Ajax


mikemastah

Recommended Posts

Hey folks of CE, I need help once again :(

I'm making an application for school where i have to use Ajax in.

on a page i have a textbox where you can type a (three letter) code in.

i have an external php script which returns the value of the code using GET (data.php?code=HDD)

It will return a value (69) nothing more, just 69, which should be stored in the div 'target'.

I tried using Floydian's (slightly modified) Basic Ajax is easy script but it didn't work.

 

How should I do this

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...