DEV Community

AndyBullet
AndyBullet

Posted on • Edited on

Problem with iFrame.

Hi guys.
I have a problem with jquery (the code is here https://pastebin.com/ieEwvMYW).

I want to make the text written in the textarea appears in the input of the site of the iframe tag. The id of that input is "CreateChatroomInputName" and I put it in a var of jquery ( var myFrame = $("#myframe").contents().find('#CreateChatroomInputName'); ) but it's not considered.

Can you help me to solve this problem?

Top comments (2)

Collapse
 
sonawaneapekshit profile image
sonawaneapekshit

I tried taking a look at the provided link but its not working. Can you share jsbin link or something?

Collapse
 
andybullet profile image
AndyBullet