Drop down

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

6 + 12 =

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?