Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > comp.lang.javascript > #36128 > unrolled thread
| Started by | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| First post | 2019-03-19 00:25 -0700 |
| Last post | 2019-03-19 00:31 -0700 |
| Articles | 2 — 1 participant |
Back to article view | Back to comp.lang.javascript
Loading a page dynamically "javascript" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-19 00:25 -0700
Re: Loading a page dynamically "javascript" Jonas Thörnvall <jonas.thornvall@gmail.com> - 2019-03-19 00:31 -0700
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2019-03-19 00:25 -0700 |
| Subject | Loading a page dynamically "javascript" |
| Message-ID | <58227036-a3eb-4eff-814c-529682df5fca@googlegroups.com> |
This page load fine using button onclick
<button onclick="synth.Load('http://imaya.github.io/demo/sf2.js/wml.html')" align=right> SOUNDFONT WEB instrument </button>
But will not load using
<body onload="synth.Load('http://imaya.github.io/demo/sf2.js/wml.html')">
Why is that?
[toc] | [next] | [standalone]
| From | Jonas Thörnvall <jonas.thornvall@gmail.com> |
|---|---|
| Date | 2019-03-19 00:31 -0700 |
| Message-ID | <7e853f41-8100-4ae3-950e-e87516763a6e@googlegroups.com> |
| In reply to | #36128 |
Den tisdag 19 mars 2019 kl. 08:25:54 UTC+1 skrev Jonas Thörnvall:
> This page load fine using button onclick
> <button onclick="synth.Load('http://imaya.github.io/demo/sf2.js/wml.html')" align=right> SOUNDFONT WEB instrument </button>
>
> But will not load using
> <body onload="synth.Load('http://imaya.github.io/demo/sf2.js/wml.html')">
>
>
> Why is that?
My bad, popup blocker.
Would there be a way to at body onload, load the page into an ID ***upon same page***. For example into a table/column? Or maybe i must use a DIV?
[toc] | [prev] | [standalone]
Back to top | Article view | comp.lang.javascript
csiph-web