Wrox Home  
Search P2P Archive for: Go

  Return to Index  

javascript thread: Forms, frames and PHP. PHEW! :)


Message #1 by "Øyvind Valstadsve" <praxiz@n...> on Thu, 12 Sep 2002 14:47:24
It is, Javascript offer control over the SELECT element so you can resize 
and amend the values, check out 
http://ist-socrates.berkeley.edu:7309/javascript/select.html for an example.

At 14:47 12/09/02 +0000, you wrote:
>Where should I begin?
>
>Well for the past hour ive been trying to make a script that automatically
>displays a calender based on the month you choose in a form pulldown-menu.
>
>I dont want to refresh the page too often, for aestetic purposes, so ive
>made a frame where the calender is supposed to pop up. The calender is
>already made, but i have yet to be able to write the value of the month
>into anything else than another form (text-box).
>
>I have reached the point where I only need to make one more thing work
>before its done.
>
>Here is the problem:
>
><select name="maaned" size="1" onChange="parent.passText
>(this.form.maaned.options[this.form.maaned.selectedIndex].value);
>top.frames['bottom'].document.location='markedsplanframe1.php?
>maaned=maaned';">
>
>The absolute LAST "maaned" ("..aaned=MAANED';..") should be changed to the
>value of the month that is selected in the <select> (the pulldown menu).
>
>Is this even possible?
>
>Thanks in advance.
>
>---
>
>Improve your web design skills with these new books from Glasshaus.
>
>Usable Web Menus
>http://www.amazon.com/exec/obidos/ASIN/1904151027/ref=nosim/theprogramme
>r-20
>Constructing Accessible Web Sites
>http://www.amazon.com/exec/obidos/ASIN/1904151000/ref=nosim/theprogramme
>r-20
>Practical JavaScript for the Usable Web
>http://www.amazon.com/exec/obidos/ASIN/1904151051/ref=nosim/theprogramme
>r-20



  Return to Index