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....
To check for validity......
Started by Divya, Nov 13 2008 09:03 PM
1 reply to this topic
#1
Posted 13 November 2008 - 09:03 PM
|
|
|
#2
Posted 13 November 2008 - 11:38 PM
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...
first, read about ajax in our tutorial section and try a few small examples on your own just to get the feel of ajax...


Sign In
Create Account


Back to top









