SitePoint Sponsor

User Tag List

Results 1 to 2 of 2
  1. #1
    SitePoint Zealot
    Join Date
    Mar 2005
    Posts
    166
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    form field fill by ajax

    Ok,

    I'm newbie using js..I found a mix between server and client side code interesting by using an ajax sql retrieving results (in asp page)..
    In the example I copied, the results are prompted into a div tag on my main page, so my question is if I could retrieve the results directly to an input variable inside my form..

    Already tried to move the id which the getelementbyID() uses to found a place for the inner.html response from the div tag to my input, but I got an error saing there's no element founded by getelementbyID()...

    Any help is welcomed..

  2. #2
    ✯✯✯ silver trophybronze trophy php_daemon's Avatar
    Join Date
    Mar 2006
    Posts
    5,284
    Mentioned
    2 Post(s)
    Tagged
    0 Thread(s)
    Can you post some code for us to understand your problem better.
    Saul


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •