Drop down

QuestionsDrop down
german asked 2 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 2 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

17 + 10 =

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:

As you found this post useful...

Follow us on social media!

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

Let us improve this post!