HomeWatched TopicsRegisterSearchDirectory
FAQMemberlistUsergroupsLog inStoresItemsBank
Google

Reply to topic Page 1 of 1
How I write js code[not html] in a popup from opener , dynam
Message  

Reply with quote
Post How I write js code[not html] in a popup from opener , dynam 
JavaScript: How I write js code[not html] in a popup from opener , dynamically ?

View user's profile Send private message

Reply with quote
Post  
I guess you have problem with <script> tag Smile. This is a common problem.

Here is a sample for you:

Code:

<script language="javascript">
function insertScript()
{
 var sc='<scr'+'ipt language="javascript">';
 sc+='alert("hello world");';
 sc+='</scr'+'ipt>';
 document.getElementById('myScript').innerHTML=sc;
}
</script>
<div id="myScript"></div>


Regards,
Pratamishus.


_________________
www.eb-downloads.com
FREE E-BOOKS DOWNLOADS.
View user's profile Send private message Send e-mail Visit poster's website Yahoo Messenger
Display posts from previous:
Reply to topic Page 1 of 1
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
  



Google

FireFox! PHP Forum Web Designer Forum
Loans and Credit Web Host Forum Free Insurance Quotes!
Panama Search Engine Optimization Designer Children
Web Hosting Advertise Here $10 a Month Domain name registration
Affordable web-hosting Never Pay Taxes Again HGH
Web Hosting and Dedicated Servers Insurance


Web Design by PlatinumShore.com & Web Hosting by TradeWebHosting.com