#1
  1. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0

    Need urgent help regarding php.


    i m new in php
    i have created a dynamic dropdown using ajax post method now my dropdown is working well . but when i insert the value of dropdown into sql it just insert blank field . my question is how to get the value of dynamic drop down . thanks .
  2. #2
  3. No Profile Picture
    Contributing User
    Devshed Loyal (3000 - 3499 posts)

    Join Date
    Dec 2004
    Posts
    3,031
    Rep Power
    377
    post some code? also it is ajax/js forum NOT php..

    you can get the drop down as

    $("select[name=whatever]").val() //this will give you the value.
  4. #3
  5. No Profile Picture
    Registered User
    Devshed Newbie (0 - 499 posts)

    Join Date
    Jun 2013
    Posts
    2
    Rep Power
    0
    i m still not getting the value of my dynamic select box plz tell me how to get it urgently.
  6. #4
  7. Code Monkey V. 0.9
    Devshed Regular (2000 - 2499 posts)

    Join Date
    Mar 2005
    Location
    A Land Down Under
    Posts
    2,136
    Rep Power
    1990
    Originally Posted by usman_zia
    i m still not getting the value of my dynamic select box plz tell me how to get it urgently.
    Did you read this?
    Originally Posted by paulh1983
    post some code?
    Unless you show us your code we can't do anything to help. that's like asking a mechanic to fix your car when it's not there.. it's just not possible.

IMN logo majestic logo threadwatch logo seochat tools logo