Jump to content

Hi, how do you put <iframe src="http://www.bla.com">bla</iframe> into ajax?


Guest Artifact

Recommended Posts

Guest Artifact

Hi, how do you put

<iframe src="http://www.bla.com">bla</iframe>

inside

<script src="http://www.script.com/script.js"></script>

?????????Into ajax in other words?

Link to comment
Share on other sites

Guest sleggy_allen
Hi, how do you put
<iframe src="http://www.bla.com">bla</iframe>

inside

<script src="http://www.script.com/script.js"></script>

?????????Into ajax in other words?

hi what do you mean inside?im willing to help you...but please make it more clearer
Link to comment
Share on other sites

I'm not entirely sure what you mean, but I could try to help you. I could help you more if you explain what you mean by "putting it inside."

<script TYPE="text/javascript">document.write("<iframe src=http://www.bla.com>bla</iframe>")</script>

That will write "<iframe src=http://www.blah.com></iframe>" to the document.

<script TYPE="text/javascript">var a="<iframe src=http://www.bla.com>bla</iframe>"</script>

That will create a variable with the value of the iframe tage you specified. I'm not sure if either of these will help you, and if they don't, please explain your question better.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...