• Resolved ruben777

    (@ruben777)


    Hello,
    I would like to know if it was possible to manipulate shortcode with jQuery script.
    In particular to display the contents of a cell with the shortcode cell extension.

    var i = 1;
    jQuery(".html").html('<div>[table-cell id=1 cell=E'+i+']</div>')

    Like this.

    Thanks
    Best regards.

    • This topic was modified 5 years, 5 months ago by ruben777.

    The page I need help with: [log in to see the link]

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    thanks for your post, and sorry for the trouble.

    No, sorry, that is not possible, simply because the jQuery code (JavaScript) runs in the visitor’s browser, but the Shortcodes run on the server.

    Regards,
    Tobias

    Thread Starter ruben777

    (@ruben777)

    Thank you for your quick answer, last question ??
    Do you know if they can be manipulated to automate them otherwise?

    Regards.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    unfortunately, I don’t know readily usable solutions. You would need a custom PHP code solution to execute the Shortcodes on the server and send their output to the browser.

    Regards,
    Tobias

    Thread Starter ruben777

    (@ruben777)

    Awesome thanks a lot for your time.
    I will try this way and see.

    Regards.

    Plugin Author Tobias B?thge

    (@tobiasbg)

    Hi,

    no problem, you are very welcome! ??

    Best wishes,
    Tobias

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Shortcode manipulate with jQuery’ is closed to new replies.