Click here to Skip to main content
15,902,939 members
Home / Discussions / Web Development
   

Web Development

 
AnswerRe: Changing the browser location in Java Pin
Perspx31-Jul-08 3:03
Perspx31-Jul-08 3:03 
GeneralRe: Changing the browser location in Java Pin
Saul Johnson31-Jul-08 7:52
Saul Johnson31-Jul-08 7:52 
GeneralRe: Changing the browser location in Java Pin
Perspx31-Jul-08 8:12
Perspx31-Jul-08 8:12 
GeneralRe: Changing the browser location in Java Pin
Perspx31-Jul-08 8:15
Perspx31-Jul-08 8:15 
GeneralRe: Changing the browser location in Java Pin
Saul Johnson31-Jul-08 11:10
Saul Johnson31-Jul-08 11:10 
GeneralRe: Changing the browser location in Java Pin
Perspx31-Jul-08 23:11
Perspx31-Jul-08 23:11 
Questionpurpose of <code>function reload(form)</code> Pin
nahelna31-Jul-08 2:33
nahelna31-Jul-08 2:33 
AnswerRe: purpose of function reload(form) Pin
Perspx31-Jul-08 2:42
Perspx31-Jul-08 2:42 
Hi,

The porpose of this is script is to get the value of a select box and then go to a page based on this selection.

For form.cat.options[form.cat.options.selectedIndex].value:

form is a form that is called "form" and "cat" is a select box. What this line does is get the value of the selected option in this select box, which is what form.cat.options.selectedIndex is for - the []s show that form.cat.options is an array. This value is stored in a variable called "val".

What the next line does redirect the current browser window to "postquery.php" with the argument "cat" being the val variable that was assigned in the first line.

For example, if "val" was "data", then the browser window would be redirected to "postquery.php?cat=data".

Hope this helps,
--Perspx

"The Blue Screen of Death, also known as The Blue Screen of Doom, the "Blue Screen of Fun", "Phatul Exception: The WRECKening" and "Windows Vista", is a multi award-winning game first developed in 1995 by Microsoft" - Uncyclopedia

QuestionAccessing JAVA webservice from ASP [modified] Pin
Anoop Unnikrishnan30-Jul-08 23:25
Anoop Unnikrishnan30-Jul-08 23:25 
AnswerRe: Accessing JAVA webservice from ASP Pin
Guffa3-Aug-08 1:38
Guffa3-Aug-08 1:38 
Questionsolution wanted? Pin
Ali Hello30-Jul-08 19:59
Ali Hello30-Jul-08 19:59 
AnswerRe: solution wanted? Pin
Perspx30-Jul-08 23:26
Perspx30-Jul-08 23:26 
QuestionURL Problem Pin
Mri1a30-Jul-08 18:26
Mri1a30-Jul-08 18:26 
AnswerRe: URL Problem Pin
Eduard Keilholz30-Jul-08 20:27
Eduard Keilholz30-Jul-08 20:27 
QuestionOk I read the above but the Asp.net forum didn't help Pin
JimBob SquarePants30-Jul-08 14:23
JimBob SquarePants30-Jul-08 14:23 
AnswerRe: Ok I read the above but the Asp.net forum didn't help Pin
_Damian S_30-Jul-08 14:46
professional_Damian S_30-Jul-08 14:46 
GeneralRe: Ok I read the above but the Asp.net forum didn't help Pin
JimBob SquarePants30-Jul-08 15:08
JimBob SquarePants30-Jul-08 15:08 
AnswerRe: Ok I read the above but the Asp.net forum didn't help Pin
Dirk Higbee30-Jul-08 14:48
Dirk Higbee30-Jul-08 14:48 
GeneralRe: Ok I read the above but the Asp.net forum didn't help Pin
JimBob SquarePants30-Jul-08 15:32
JimBob SquarePants30-Jul-08 15:32 
AnswerRe: Ok I read the above but the Asp.net forum didn't help Pin
Rama Krishna Vavilala30-Jul-08 15:10
Rama Krishna Vavilala30-Jul-08 15:10 
GeneralRe: Ok I read the above but the Asp.net forum didn't help Pin
JimBob SquarePants30-Jul-08 15:29
JimBob SquarePants30-Jul-08 15:29 
GeneralRe: Ok I read the above but the Asp.net forum didn't help Pin
_Damian S_30-Jul-08 15:40
professional_Damian S_30-Jul-08 15:40 
GeneralRe: Ok I read the above but the Asp.net forum didn't help Pin
JimBob SquarePants30-Jul-08 15:46
JimBob SquarePants30-Jul-08 15:46 
AnswerRe: Ok I read the above but the Asp.net forum didn't help Pin
Guffa2-Aug-08 23:42
Guffa2-Aug-08 23:42 
Questiondocument.createElement() or .innerHTML in Javascript? Pin
Perspx30-Jul-08 10:16
Perspx30-Jul-08 10:16 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.