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 8268189
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 8, 20262026-06-08T05:47:27+00:00 2026-06-08T05:47:27+00:00

I am loading a form via jquery AJAX, and I am trying to implement

  • 0

I am loading a form via jquery AJAX, and I am trying to implement a wysiwyg editor to a textarea.

The textarea itself is fine when loading the page, however when the div #customerForm is reloaded (it contains the textarea) like this:

$("#customerForm").html(loading).load(filename);
$('#noteArea').wysiwyg();

I cant get it to load. The code above is in a seperate .JS file loaded in the main page, so I’m wondering if it is having trouble referencing the function on the fly. The editor was taken from:

https://github.com/akzhan/jwysiwyg

If anyone has any better jquery editors to suggest I’d be open to them, however this one is small and nice and what I wanted. Any suggestions?

  • 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-08T05:47:29+00:00Added an answer on June 8, 2026 at 5:47 am

    The .load() function works asynchronously (see the source of the function, it uses .ajax() internally and the async property defaults to true). This means the following line is executed before the content was loaded. Try initializing the editor in the callback:

    $('#customerForm').load(filename, function() {
      $('#noteArea').wysiwyg();
    });
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a Jquery Mobile page into which I'm loading a form via AJAX.
i have a page loaded via jquery tabs ajax, i have a form within
On my web page I am loading an editing form asyncronously with jQuery.get and
I am using following jQuery code to submit a form via AJAX. jQuery('form.AjaxForm').submit( function()
I am submitting and loading a new form via AJAX and want to use
I have a Jquery Mobile shell page, which I'm loading a form into using
I'm loading form into jquery-ui dialog using jquery.html() function and then Submitting doesn't work
I have a form loading inside my page and there is a button out
While loading a Windows Form (C#), I'm trying to iterate through all controls. So
I'm loading a page in an iframe colorbox. On this page there's a form

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.