Hello and welcome to our community! Is this your first visit?
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 2 of 2
  1. #1
    New Coder
    Join Date
    Feb 2012
    Thanked 0 Times in 0 Posts

    Ajax table problems

    Hi Everyone.

    I have a project that Im working on where a user selects a value from a dropdown list, ajax does a call to php and php build builds a table based on the parameter.

    The problem is that I added an href to each row so that the user can select one.
    In javascript how to I get that selected value, because if you pass an onclick="test(this.id)"
    it passes the original div's id not the newly created table?

  2. #2
    Senior Coder
    Join Date
    Aug 2010
    Thanked 275 Times in 273 Posts
    How do you pass an onclick ?
    Please post the code.


Posting Permissions

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