Jump to content

Getting values with ajax from admin


Recommended Posts

I'm doing a module that creates a form in the admin with a dynamic select and a textarea. Everything works correctly, but I would like that when selecting one of the options of the select call to database and fill the textarea with the data. I dont know where to call in the javascript code with ajax to send the ID of the select and return the data or what kind to use for it. If someone gives me an example I would appreciate it.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...