Drop down

QuestionsDrop down
german asked 3 years ago

sir,
Please let me know
is there any other way to use call back method without sql query in dropdown onchange?
how to use call back method without using the sql query?

Thank you

1 Answers
Abu Ghufran answered 3 years ago

You can simple have:
$col["editoptions"]["onchange"] = "your_function(this)";

Later in JS:
<script>
function your_function(o)
{…}
</script>

Basically, the editoptions are cconverted into html element attributes so you can use most html element's events.

Your Answer

3 + 20 =

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 / 5. Vote count:

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

Let us improve this post!