javascript calls to embedded echo'd php forms
I'm having another issue with my forms,
I had to embed them in php so I used echo's (because they are generated as needed in a loop from a database of searched books) I need to somehow take the input tag for quantity and multiply it by the price, which is in a hidden field, then take that value and and give to the price field, which is a readonly input tag. I created a new webpage in html with a form very similar and wrote this code in javascript Code:
<script language="javascript"> But on the php embedded code it doesn't, it wont call the jscript functions for some reason, I even embedded the actualy jscript with an echo just above the form tags IN PHP CODE, and it still wont work. I can echo stuff in jscript while its imbedded but this more complex stuff doesn't work. Any know how I can make it work, or, the equivalent Code:
<script language="javascript"> Cheers ! |
I'm just bumping this thread incase any php gurus missed it.
|
All times are GMT -5. The time now is 02:53 AM. |