| | |
i am stuck up
Please support our JSP advertiser: PostgreSQL or MySQL? Compare and contrast the two most popular open source databases
![]() |
•
•
Join Date: Apr 2008
Posts: 3
Reputation:
Solved Threads: 0
I tried this if i select abc i should get rrr or if i click wer i should get sky in two list boxes
please help me out
please help me out
html Syntax (Toggle Plain Text)
<%@ page import="java.sql.*" %> <html> <script > function fun() { f1.Server.length=9; f1.Server[0].value='abc'; f1.Server[0].innerText='abc'; f1.Server[1].value='wer'; f1.Server[1].innerText='wer'; } function myCodebaseList() { if(f1.Server.value=="abc") { f1.Codebase.disabled=false; f1.Codebase.length=3; f1.Codebase[0].value="rrr"; f1.Codebase[0].innerText="rrr"; f1.Codebase[0].selected=true; } else if(f1.Server.value=="wer") { f1.Codebase.length=4; f1.Codebase.disabled=false; f1.Codebase[0].value='[Select One]'; f1.Codebase[0].innerText='[Select One]'; f1.Codebase[0].selected=true; f1.Codebase[1].value='Sky'; f1.Codebase[1].innerText='Sky'; } </script> <body bgcolor=#99CCFF onLoad="fun()"> <form> Server <select name=Server id=Server onFocus='myCodebaseList()' style="WIDTH: 140px"> <option value="-" selected>-</option> </select> <br> Codebase <select name=Codebase id=CodebaseType disabled style="WIDTH: 278px"> <option value="-" selected></option> </select> <br> <tr> <td> Build Date: <input type="text" name="build_date" /><br> Upload : <input type="text" name="upload" /><br> <input type="submit" value="fupload"/> <input type="hidden" name="mode" value="save" /> </td> </tr> </table> </form> </body> </html>
Last edited by peter_budo; Apr 4th, 2008 at 5:12 am. Reason: Keep It Organized - please use [code] tags
What relevance has this to java besides the first line of the code?
You are using some scripting language that you did not even declare in script tag, which I presume is JavaScript. JavaScript beside name similarity has nothing to do with Java...
You are using some scripting language that you did not even declare in script tag, which I presume is JavaScript. JavaScript beside name similarity has nothing to do with Java...
Learn to see in another's calamity the ills which you should avoid.
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Publilius Syrus
(~100 BC)
LJC - London Java Community, Graduate & Undergraduate Software Development Community, JAVAWUG (Java Web User Group), The London Android Group
Ha! I'm sorry, but do you know what the "common" meaning of the phrase "stuck up" means?
It means someone who acts and/or thinks as though they are better than everyone else, i.e. arrogant in the most irratating and annoying way.
Just thought you might like to know, since you titled your thread "I am stuck up".
It means someone who acts and/or thinks as though they are better than everyone else, i.e. arrogant in the most irratating and annoying way.
Just thought you might like to know, since you titled your thread "I am stuck up".
Java Programmer and Sun Systems Administrator
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
----------------------------------------------
Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it.
--Brian Kernighan
![]() |
Similar Threads
- Windows XP is stuck! (Windows NT / 2000 / XP)
- Advertisment icons stuck to my desktop!!! (Viruses, Spyware and other Nasties)
- Stuck writing a Function (C++)
- error message when shutting down, startup page stuck to http://dr-search4u.com/ind... (Viruses, Spyware and other Nasties)
- Stuck In Restart Loop (Windows NT / 2000 / XP)
- Help with Class, stuck. (C++)
- CPU use stuck at 100% (Viruses, Spyware and other Nasties)
- Stuck on start up (Windows NT / 2000 / XP)
- Internet explorer 5 gets stuck (Web Browsers)
- stuck in lower case, lost functions (Windows NT / 2000 / XP)
Other Threads in the JSP Forum
- Previous Thread: displaying data from oracle database in drop down menu using jsp
- Next Thread: json loop in a jsp page
Views: 1082 | Replies: 3
| Thread Tools | Search this Thread |
Tag cloud for JSP
apache array backbutton combobox comma connection csv database development directorystructure dropdownlist dynamicpagetitles eclipse frames glassfish ie8 imagetodatabse imageupload integer internet java javaee javascript jsf jsp jsppagetitles levels mvc2 mvcmodel2 mysql netbeans network parameters passing ping printinserverinsteadofclient project read redirect request.getparameter response seperated servlet servletdopost()readxml sessions software sql ssl state_saving_method stocks sun tomcat tutorial update values video web write






