Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 9194869
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 17, 20262026-06-17T21:30:50+00:00 2026-06-17T21:30:50+00:00

I am using the .html() jquery function to change the content of a div

  • 0

I am using the .html() jquery function to change the content of a div I created. But inserting a shortcode into an .html() function doesnt work in wp! is there another way to instert a shortcode? or maybe another jQuery function I can use so wp will understand the shortcode?

jQuery('.reihenhaus').click(function(){
    jQuery('#mehr_infoz').html('Reihnaus Gr&ouml;&szlig;en von 120m&sup2; bis 166m&sup2; <br/><br/>[tabs tab1="Tab 1" tab2="Tab 2" tab3="Tab 3"][tab]Tab 1 Content [/tab][tab]Tab 2 Content[/tab] [tab]Tab 3  Content [/tab][/tabs] Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Aenean commodo ligula eget dolor. Aenean massa.')
});
  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-17T21:30:52+00:00Added an answer on June 17, 2026 at 9:30 pm

    Since WordPress is based on PHP (Server-executed code) you cannot add a shortcode to the page after the page has loaded with jQuery. The shortcode needs to be processed by the server BEFORE the page is loaded.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm loading form into jquery-ui dialog using jquery.html() function and then Submitting doesn't work
I am trying to change the content of the div using javascript/jquery. While the
I am using jquery ajax calls to change content in a div by clicking
i want to read an html file by using jquery get function, replace some
Is there a way to clone HTML elements using JQuery? However, I want to
i'm trying to validate an html page using jquery, but nothing happens. it's a
I am using jquery address plugin for loading pages, but without hash(#). index.html: <a
In javascript, possibly using jQuery, how can I detect if the html content of
I am using jQuery's $.get() to load some content to a div whose id=results
I have some content that I am show/hiding using the Jquery toggle function. I

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.