Help answer threads with 0 replies.
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 08-28-2010, 11:56 AM   #1
Registered: May 2006
Distribution: Slackware, DragonFly
Posts: 233

Rep: Reputation: 30
capture parameter from iframe to main.html

I have the following HTML code in main.html:
<tr align="right">
<td width="50%">
<td width="50%">
<iframe src="../createproject.html width="100%" height="400pt" frameborder="0" scrolling="no">
and createproject.html:
<link rel="stylesheet" type="text/css" href="../user.css" />
<script type="text/javascript" src="../projects.js"></script>
<body onload="return capture_profile()">
<div align="right" class="data-font">
<form action="/cgi-bin/createproj.cgi" method="POST">
I'd like capture with capture_profile() function in createproject.html a value into main.html page.
How can I solve this problem with javascript?
Old 08-28-2010, 05:21 PM   #2
Senior Member
Registered: Oct 2004
Distribution: Fedora Core 4, 12, 13, 14, 15, 17
Posts: 2,279

Rep: Reputation: 249Reputation: 249Reputation: 249 =
or =

Obviously you will have to create the objects and use their real names and properties instead of just

Last edited by smoker; 08-28-2010 at 05:24 PM.


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
Parameter passing in HTML john2 Programming 3 06-12-2010 04:22 PM
A virus changed all my index files with iframe, how to remove that iframe line? Farman Linux - Security 10 07-16-2009 08:40 AM
force iframe content to remain in iframe? frieza Programming 1 09-17-2008 06:29 AM
how to change and pass thread parameter back to main dragondad Programming 3 09-19-2005 01:58 PM
How to change function parameter value and return back to the main shell program Bassam Linux - General 1 01-26-2004 10:02 AM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 11:29 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration