View Single Post
Join Date: Jan 2005
Posts: 70
Reputation: Diode is on a distinguished road 
Solved Threads: 0
Diode's Avatar
Diode Diode is offline Offline
Junior Poster in Training

Re: 2 questions involving scripts, select tag, and loading pages

 
0
  #7
Jun 8th, 2008
I implemented the session variables, but I have found that the only events SELECT tags respond to are onfocus, onblur, and onchange.

I put the javascript function inside an onload event in the body, which did nothing. I can access the session variables, but if the page is loaded, how do I make the elements of the menu appear without the user having to re-enter all the team data?

  1. leagueno = $mleagueno
  2.  
  3. <onload = 'leagues($mleagueno)'>

this function works if it is placed within the onchange event in the select tag, and there is a value in $mleagueno because it is displayed on the page. Any idea what's going on here?

Thanks
Reply With Quote