Posted by Ramon on 08/23/05 03:41
All of the suggestions on this topic are silly. If I needed to pass data
between frames I would just store that data in $_SESSION. And... now you
better sit down for this... not only will you be able to access data in
different frames, you can also access the same data in DIFFERENT BROWSER
WINDOWS (concurrent).
*SHOCK HORROR*
Anyway hope that helps.
D
Raffi wrote:
> Thanks for your suggestions. I ended up using CSS (the application only
> allows access with MSIE 5+) and sidestepped the tedious cross-frame
> scripting.
>
> Here's the code for anyone interested:
>
> <style type="text/css">
> <div.scroll {
> height: 100px;
> width: 300px;
> overflow: auto;
> border: 2px solid #0000ff;
> background-color: #ffffff;
> padding: 8px;}
> </style>
> <html><body>
> <h4>Paint Supply Order Form</h4>
> <form action="index.php" method="post">
> <div class="scroll">
> Item:
> <select name="item">
> <option>Paint</option>
> <option>Brushes</option>
> <option>Erasers</option>
> </select>
> <br><br>
> Quantity:
> <input name="quantity" type="text" />
> <br><br>
> Color:
> <input name="color" type="text" />
> <br><br>
> Weight:
> <input name="weight" type="text" />
> <br><br>
> Location:
> <input name="location" type="text" />
> </div>
> <br><br>
> <input type="submit" name="submit" value="Submit">
> </form>
>
Navigation:
[Reply to this message]
|