Home     |     .Net Programming    |     cSharp Home    |     Sql Server Home    |     Javascript / Client Side Development     |     Ajax Programming

Ruby on Rails Development     |     Perl Programming     |     C Programming Language     |     C++ Programming     |     IT Jobs

Python Programming Language     |     Laptop Suggestions?    |     TCL Scripting     |     Fortran Programming     |     Scheme Programming Language


 
 
Cervo Technologies
The Right Source to Outsource

MS Dynamics CRM 3.0

Javascript / Client Side Development

About Handling the Html:Select Box State when submitted to other page


Hai to all,
rajesh a crit :

> Hai to all,

On the other Page ?

On the same page before to submit ?

2)
    <form onsubmit="var k = document.myForm.mySelect.selectedIndex;
alert(document.myForm.mySelect.options[k].text);" blah >

1)
  var url = self.location.toString();
  url = url.substring(url.indexOf('?')+1);
  url = url.split('&');
  for(var i=0; i<url.length; i++)
    if(url[i].indexOf('mySelect')>=0)
      alert(url[i]);

--
Stephane Moriaux et son (moins) vieux Mac dj dpass
Stephane Moriaux and his (less) old Mac already out of date

Add to del.icio.us | Digg this | Stumble it | Powered by Megasolutions Inc