Welcome to the Java Programming Forums


The professional, friendly Java community. 21,500 members and growing!


The Java Programming Forums are a community of Java programmers from all around the World. Our members have a wide range of skills and they all have one thing in common: A passion to learn and code Java. We invite beginner Java programmers right through to Java professionals to post here and share your knowledge. Become a part of the community, help others, expand your knowledge of Java and enjoy talking with like minded people. Registration is quick and best of all free. We look forward to meeting you.


>> REGISTER NOW TO START POSTING


Members have full access to the forums. Advertisements are removed for registered users.

Results 1 to 2 of 2

Thread: javascript

  1. #1
    Junior Member
    Join Date
    Sep 2013
    Posts
    1
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Default javascript

    Following is the HTML code for the web page: 2
    <HTML>
    <BODY>
    <H4>Select a location from the list</H4>
    <FORM>
    <SELECT NAME="list" SIZE=3 onchange="open1()">
    <OPTION>Go to Rajasthan !!
    <OPTION>Go to Kerela !!
    <OPTION>Go to Shimla !!
    </SELECT>
    </FORM>
    </BODY>
    </HTML>

    Write the JavaScript code to be embedded in the above HTML code to open the
    corresponding website in a new window on the selection of any list item.


  2. #2
    Crazy Cat Lady KevinWorkman's Avatar
    Join Date
    Oct 2010
    Location
    Washington, DC
    Posts
    5,424
    My Mood
    Hungover
    Thanks
    144
    Thanked 636 Times in 540 Posts

    Default Re: javascript

    Java != javascript, and even if it were, simply dumping your homework assignment here isn't how this works.
    Useful links: How to Ask Questions the Smart Way | Use Code Tags | Java Tutorials
    Static Void Games - Play indie games, learn from game tutorials and source code, upload your own games!

Similar Threads

  1. javascript
    By basha2013 in forum Other Programming Languages
    Replies: 2
    Last Post: January 24th, 2013, 05:57 PM
  2. jsp javascript
    By mr.miku in forum JavaServer Pages: JSP & JSTL
    Replies: 1
    Last Post: November 19th, 2011, 01:38 PM
  3. java to javascript
    By andrewdee in forum Other Programming Languages
    Replies: 4
    Last Post: October 19th, 2011, 08:28 AM
  4. javascript:void(0
    By serenafare1 in forum Member Introductions
    Replies: 1
    Last Post: April 12th, 2011, 08:44 PM
  5. javascript problem
    By kundan_101 in forum Member Introductions
    Replies: 2
    Last Post: December 30th, 2010, 09:02 AM