Tycoon Talk
Become a Big fish!
The number 1 forum for online business!
Post topics, ask questions, share your knowledge.
Tycoon Talk is part of Freelancer.com - find skilled workers online at a fraction of the cost.

HTML Forum


You are currently viewing our HTML Forum as a guest. Please register to participate.
Login



Post a Project »

Find a Professional HTML Freelancer!

Find a Freelancer to help you with your HTML projects

FREE Outsourcing eBook!

Reply
Hidding an Input field in a form
Old 10-29-2006, 08:24 AM Hidding an Input field in a form
Junior Talker

Posts: 2
Trades: 0
Hi

I am trying to update a hidden field in a form. here is what i am trying to do.

i have a form. it contains a image table with click able images..so input type = image
AND it contains an iframe which is the part i update using cgi.

So the problem is i don't know where to put this Hidden field..to the table or to the iframe.

the use of the hidden field is, it carries all the past infomations where the user clicks(and some other stuff too)

when i keep the hidden field in the iframe tag, the info of hidden field is not passed to the server (cgi)

& it works when i keep the hidden field out side the iframe & table tags BUT inside the form tag. whether it works this way...How do i update that field when the cgi program updates the things in the iframe..

hOPE u understood this..

Can anyone plz comment on this..I need an idea very soon.

Thanks
eudos is offline
Reply With Quote
View Public Profile
 
 
Register now for full access!
Old 10-29-2006, 09:11 AM Re: Hidding an Input field in a form
chrishirst's Avatar
Missing! presumed drunk.

Posts: 42,383
Name: Chris Hirst
Location: Blackpool. UK
Trades: 0
quite simple; It HAS to be inside the <form> </form> elements and you will have to use javascript in the iframe page to update the parent form.
__________________
Chris. ->>
Please login or register to view this content. Registration is FREE
<<-

A foolish consistency is the hobgoblin of little minds
Thought for today:- Is SEO the only industry where all the cowboys are Indians?
chrishirst is online now
Reply With Quote
View Public Profile Visit chrishirst's homepage!
 
Old 10-29-2006, 12:41 PM Re: Hidding an Input field in a form
Junior Talker

Posts: 2
Trades: 0
Quote:
quite simple; It HAS to be inside the <form> </form> elements and you will have to use javascript in the iframe page to update the parent form.
Can any one plz tell me the java script ..i am dont know java at all..

thanks
eudos is offline
Reply With Quote
View Public Profile
 
Old 10-29-2006, 12:46 PM Re: Hidding an Input field in a form
ADAM Web Design's Avatar
Canadastaninianite

Posts: 5,935
Name: Adam for web page design, not program
Location: Toronto, Ontario, Canada
Trades: 0
You're not going to find a javascript for your specific application, simply because the usage of iframes isn't all that common to begin with.

My suggestion to you would be NOT to use an iframe, but to use a scrolling div instead. The only reason to even use iframes that I've found is to direct users to external websites within the layout of the original website.

In other words, rebuild your page using a scrolling div for the content and then use Javascript if it's still necessary to do what you want.

Here's the code for a scrolling div:
Code:
<div style="width:  (width);  height:  (height);  overflow:  auto;">
Your content here.
</div>
__________________

Please login or register to view this content. Registration is FREE
|
Please login or register to view this content. Registration is FREE
(my blog)


Please login or register to view this content. Registration is FREE
(with proof)
ADAM Web Design is offline
Reply With Quote
View Public Profile Visit ADAM Web Design's homepage!
 
Reply     « Reply to Hidding an Input field in a form
 

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 On
HTML code is Off
Trackbacks are Off
Pingbacks are Off
Refbacks are Off





   
RSS Feed  Feeds: RSS   JS   XML
RSS Feed  Feeds for this forum: RSS   JS   XML



Page generated in 0.14404 seconds with 12 queries