Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

Maximum ASP
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
Iron Speed Designer is a software development tool for building database, reporting, and forms applications for .NET without hand-coding.
 


  Sponsors  

Meet Our Sponsors

.: CounterSoft :.
telerik
ExactTarget email software solutions
Merak Mail Server
WebSecureStores -- ASP.NET & DotNetNuke Hosting Solutions
FCKeditor Project
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Iframe Module [...  How to use Onload
Previous Previous
 
Next Next
New Post 1/25/2008 10:43 AM
Resolved
User is offline John Tisdale
11 posts
10th Ranked


How to use Onload 

I want to use the onload javacsript for the iframe but cannot get it to work. All I want to do is include a javascript statement like: document.formname.fieldname.value = 'string value';

I've tried everything imaginable and cannot get it to work. Including the above statement in the provided box doesn't work. Do  I need to include
<script language="javascript" type="text/javascript"> document.formname.fieldname.value = 'string value' <!-- // --></script> in this field or what?

Any example would be greatly appreciated.

Thanks a bunch, John

 

 
New Post 1/26/2008 7:06 PM
User is offline Vitaly Kozadayev
687 posts
www.continure.com
7th Ranked






Re: How to use Onload 
Modified By Vitaly Kozadayev  on 1/26/2008 11:09:37 PM)

onload field takes just the javascript statement - so, all you have to type in there is document.formname.fieldname.value = 'string value'

Question, though, are you sure your javascript is correct? Does it work outside of onload event of iframe?

Also, are you trying to target the page in IFrame? In that case the javscript needs to be different.


Vitaly Kozadayev
Principal
Viva Portals, L.L.C.
 
Previous Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Iframe Module [...  How to use Onload
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, please observe the following posting guidelines:

1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


Willhite & Sharron Realtors
Exemplary service for your Seattle Real Estate needs. It's what you deserve from your Realtor®!
www.alkihomes.com
PointClick DotNetNuke Solutions
PointClick Technologies provides high-end DNN Hosting for businesses.
PointClick.Net Hosted Solutions
Active Modules, Inc.
Creators of Active Forums, the best forum module for DotNetNuke
www.activemodules.com

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP