codehaven - php snippets - coding help
Generic filters
Exact matches only
  • Dynamically load dropdown placeholder ckeditor

    24th May 2017

    Jquery - Tricks

    jquery icon

    Add a variable in config.js and populated with values from an ajax call,
    add to top of page.

    The ajax call returns the values as JSON. (echo json_encode($my_array))

    Then I assigned the variable to the placeholders inside the code of the ckedit config part

    Hope that helps 🙂
    Thanks to Sigal Goplaiah

    Was this code snippet helpful?