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


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! The PHP Forum Loans and Credit
Panama Web Design for Hire Free Insurance Quotes!
Web Hosting Advertise Here $10 a Month Designer Children
Never Pay Taxes Again HGH Domain name registration
Web Hosting and Dedicated Servers Insurance Affordable web-hosting


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