+ 8
How can I link an iframe which loads when a button is clicked in HTML
iframe loads when button or object in page clicked
6 Answers
+ 7
With a javascript function
Something like...
function clickMe(){
document.getElementById(yourElement).innerHTML="<iframe ... >"
}
and add onclick to the button
+ 1
It's very fantastic, cool, amazing.😄
0
❣🕊❣🕊❣🕊❣🕊❣🕊❣
*مجھے نہ کسی کا دل,نہ کسی کی جان چاہیے...❤*
*دل کا حال جو سمجھ سکے,وہ انسان چاہیے...❤*
❣🕊❣🕊❣🕊❣🕊❣🕊❣
*💞تنھا اجنبی💞*
0
What is the function of iframe?