j007ha Posted July 15, 2008 Share Posted July 15, 2008 I have a html form with table inside. So in that form i will provide a drop down list to let user to select an item from the drop down list. After the user have select one of the item from the drop down list the following information like price, description about the particular item will be display in the row of the column. So my question is how to adding a new row ( after the user select one or more item from the drop down), so the new selected item details can be display into the new row. Im very appreciated with u all view and help Quote Link to comment Share on other sites More sharing options...
ratcateme Posted July 15, 2008 Share Posted July 15, 2008 this is really a javascript question this might help if you want to get info from php without reloading the page the that is ajax more javascript check out the xajax project for that (google it) Scott. Quote Link to comment Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 thx a lot (ratcateme) hehe... u r so great^^ Quote Link to comment Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 one more question after i have success adding a new row how can i insert the specific item information(which is store is mysql) to the follow row?(By assign a id to each column of the new row ? how to differentiate the every row?) Thx a lot Quote Link to comment Share on other sites More sharing options...
ratcateme Posted July 15, 2008 Share Posted July 15, 2008 i am not sure exactly but i would create a <span> tag inside my row with an ID then use xajax to get the value from a database Scott. Quote Link to comment Share on other sites More sharing options...
j007ha Posted July 15, 2008 Author Share Posted July 15, 2008 kk...i will try anyway thx Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.