I posted this same question previously to generate form fields dynamically but now i have got one more doubt..pls help me..I am doing an inventory project using PHP and in Sales/Rentals page there is a text box.The customer id should be entered in that text box or entered using a barcode reader.If that customer id is valid,another text box should be generated in which the product id should be entered..If that product id is valid,other 3 text boxes should be generated dynamically in order to do transaction.It is possible for me to generate text boxes dynamically using javascript but I dont know how to check whether the customer id and product id are valid using javascript....
I suggest you learn the ajax technology. I can't give you a mile of code and you don't know what's written and just use it, you need to understand yourself, so you can adapt it to your own needs.
first, read about ajax in our tutorial section and try a few small examples on your own just to get the feel of ajax...
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks