471,049 Members | 1,349 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,049 software developers and data experts.

How to Convert javascript link to iframe?

2 2Bits
I need to convert the JavaScript link to iframe to make it work as i want to embed some services,
the is link is in format :- <script src="https://jhdbsefukeudowiwj/js/jnvjadvcusend"></script> (this is just an example of the link and not the actual link)
how do i convert in iframe to make it work
Jun 19 '21 #1

✓ answered by dev7060

I need to convert the JavaScript link to iframe to make it work as i want to embed some services,
the is link is in format :- <script src="https://jhdbsefukeudowiwj/js/jnvjadvcusend"></script> (this is just an example of the link and not the actual link)
how do i convert in iframe to make it work
Are you trying to embed a script file inside the iframe?

3 2519
dev7060
581 Expert 512MB
I need to convert the JavaScript link to iframe to make it work as i want to embed some services,
the is link is in format :- <script src="https://jhdbsefukeudowiwj/js/jnvjadvcusend"></script> (this is just an example of the link and not the actual link)
how do i convert in iframe to make it work
Are you trying to embed a script file inside the iframe?
Jun 20 '21 #2
laxmi96
2 2Bits
I tried to embed a script file inside iframe, but still it's not working as expected.
but need to embed the link into iframe only, as per the requirement from the platform.
Jun 21 '21 #3
dev7060
581 Expert 512MB
It's not clear to me what exactly is the aim here to achieve.

<iframe> MDN docs: https://developer.mozilla.org/en-US/...Element/iframe

Though there are reasons why one shouldn't use iframes.

I tried to embed a script file inside iframe
Why would you do that?

convert the JavaScript link to iframe
how do i convert in iframe to make it work
What do you mean by 'convert' here?

i want to embed some services
Give an example.

but still it's not working as expected.
What's the expected?

as per the requirement from the platform.
What are you referring to by 'platform'?
Jun 22 '21 #4

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

6 posts views Thread by S'fly | last post: by
2 posts views Thread by Terry | last post: by
2 posts views Thread by Robert Oschler | last post: by
8 posts views Thread by Andrew Phillipo | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.