-
March 23rd, 2009, 12:47 AM
#1
using onBlur/onChange
im using php and MySQL
i dunno if this is the right section to post this,
i have a TABLE labor charges with fields within warranty and without warranty
then
i have a form with radio buttons naming within warranty and without warranty.
at the later part of my form there is a select statement named labor charges.
labor charges: [SELECT]
now what i want to do is when a user select the radio button within warranty i will use the onChange/onBlur and functions that the labor charges SELECT STATEMENT will only display the within warranty column coming from labor charges table. just like a realtime.
can i do this in php function or should i use javascript
how can i do that?
any idea?
tnx in advance!
-
March 23rd, 2009, 06:45 AM
#2
Re: using onBlur/onChange
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
-
March 23rd, 2009, 06:47 AM
#3
Re: using onBlur/onChange
Any change to a MySQL database must happen on the server-side. However, since you are also initiating the change from the client-side and displaying data, you will need to use AJAX to implement that.
Take a look at W3Schools AJAX Tutorial to get you started.
If the post was helpful...Rate it! Remember to use [code] or [php] tags.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|