Question about loading javascript and css dynamically

Discussion about coding and new developments
Post Reply
Qimas
Posts: 1
Joined: 05 Apr 2019, 07:14
Antispam: Yes
Location: San Marcos

Question about loading javascript and css dynamically

Post by Qimas »

So I've spent the last two days googling and searching the forums as well as reading the Ext docs and I haven't been able to find an answer to my question. I realize this is probably something easy that I've overlooked so if someone can point me to the proper place in the docs or elsewhere to read I would appreciate it.

Here's what I'm looking to do....

I'm developing an application that will contain quite a few Javascript objects. Each of these objects may or may not be needed when the application runs dependent on what options the user chooses. I'd like to be able to load a javascript and/or css file as a reaction to a user choice and then run the object in the javascript file.

I imagine this is possible, I just can't seem to find the solution. Pointers on where to look are greatly appreciated.

Thanks!
Andy
mzenker
Posts: 1999
Joined: 07 Dec 2009, 11:49
Location: Germany

Re: Question about loading javascript and css dynamically

Post by mzenker »

Hi,

this forum ist about Simulation with FEM, not about Javascript, css et al.

Matthias
Post Reply