Select textbox values from database when select a value from dropdown list

QuestionsSelect textbox values from database when select a value from dropdown list
prasad asked 12 years ago

hello abu,

im using your premium version 1.4.8 that u have forwarded to me.

i want to know whether it is possible to selext textbox values from the database based on the dropdown list value on onchange.

thnQ

1 Answers
Abu Ghufran answered 12 years ago

Hello,

You can bind onchange to select box using following config.

$col["editoptions"] = array("onchange" => "YOUR-JS-CODE-FUNCTION");
In this JS code, you can have ajax call to load and fill data. You can check the textbox ids using firebug.

Thanks

Your Answer

2 + 4 =

Login with your Social Id:

OR, enter

Attach code here and paste link in question.
Attach screenshot here and paste link in question.



How useful was this discussion?

Click on a star to rate it!

Average rating 0 / 5. Vote count: 0

No votes so far! Be the first to rate it.

We are sorry that this post was not useful for you!

Let us improve this post!

Tell us how we can improve this post?