How to make an HTML form more dynamic ?

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • sunbin
    New Member
    • Feb 2007
    • 7

    How to make an HTML form more dynamic ?

    Hi,

    i have an HTML form. i want to make it dynamic i.e. when a visitor click on the link "Insert one more item", it will automatically adds one table row and gives one "text box" and one "select box" in it. i have to display values in select box from MySQL table without reloading the page.

    Can anyone plz help me ?

    Sunbin
  • ronverdonk
    Recognized Expert Specialist
    • Jul 2006
    • 4259

    #2
    When your requirementa are to (a) dynamically create a text box on a click, (2) fill a box with server data and (3) do this all without page reload, your only solution is a combination of HTML. JavaScript, HttpRequest and PHP (this combination is sometimes called Ajax).

    In order to get information on your process, show our members the script you have developed so far in this forum, and we will see how we can assist you.

    And do not forget to enclose that code within the code or php tags!!

    Ronald :cool:

    Comment

    Working...