Jqmath - apply after page load

Hi
I would like to apply the jqMath script after the initial page load.
See http://mathscribe.com/author/jqmath.html

The problem I have is that I make an ajax call
which retrieves some jqMath syntax and loads into a div section of the main page.

However the syntax is not currently been parased.
How do I ensure jqMath can be triggered when the ajax call returns
and applied to the appropriate div section ?

regards
Declan
dec7Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

BardobraveCommented:
I don't know how that jqmath plugin works, but I supose that should be some type of trigger for the parser to start seeking jqmath code.

You can fire that trigger (I supose it'll be a method) from the success callback of your ajax call, so it will fire after the ajax call returns.
0
dec7Author Commented:
Yes, just trying to find what the trigger is at the moment ...
0
AlexSoftware EngineerCommented:
Hello dec7

Please could you be a little bit more clear. When you say trigger, do you want to use the
trigger function to call an action or you just want to ensure that you call the Jqmath and how you call it,
(if you call it)?
In the last case the best way to call it is to use the getscript('path/jqmath.js') after the success callback
of ajax call.
0

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
dec7Author Commented:
See here for the solution  I needed,

http://stackoverflow.com/questions/8517334/jqmath-apply-after-page-load

 thanks
0
dec7Author Commented:
Full answer discovered elsewhere
0
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
HTML

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.