Yahoo Answers is shutting down on May 4th, 2021 (Eastern Time) and beginning April 20th, 2021 (Eastern Time) the Yahoo Answers website will be in read-only mode. There will be no changes to other Yahoo properties or services, or your Yahoo account. You can find more information about the Yahoo Answers shutdown and how to download your data on this help page.

You have to develop a web page following the instructions given below.?

· Add table with Heading “Online Book Price Detail by : Your Roll-Number ”

· Create a dropdown menu for Subject categories.

· Add any 3 Categories of books in first dropdown menu.

· Create another dropdown menu for books.

· Add 2 / 3 books dynamically against each category in second dropdown.

· Make a button, When You click on button it show the message

o “Price of Selected Book is Rs. Price”.

3 Answers

Relevance
  • Anonymous
    1 decade ago
    Favorite Answer

    <html>

    <head>

    <script type="text/javascript">

    function find()

    {

    alert ("price of the selected book is Rs.100")

    }

    function loadBooks()

    {

    if(document.test.subject.value=="s1")

    {

    document.test.books.options[0]=new option ("intro to computers",0)

    document.test.books.options[1]=new option ("intro to C++",1)

    document.test.books.options[2]=new option ("Intro to Java",2)

    }

    if(document.test.subject.value=="s2")

    {

    document.test.books.options[0]=new option ("Algebra",0)

    document.test.books.options[1]=new option ("calculus",1)

    document.test.books.options[2]=new option ("Geometry",2)

    }

    if(document.test.subject.value=="s3")

    document.test.books.options[0]=new option ("Organization Behaviour",0)

    document.test.books.options[1]=new option ("Operations Research",1)

    document.test.books.options[2]=new option ("Administration",2)

    }

    }

    </script>

    </head>

    <body>

    <form name="test">

    <table border=01 width=100% bgcolor="navyblue">

    <tr>

    <th align="center" colspan="2">Online Book Price Detail by: Your Roll-Number</th></tr>

    <tr>

    <td> Select Catagory</td>

    <td><select name="subject" onblur= loadBooks()>

    <option value="s0"></option>

    <option value="s1">Computer Science</option>

    <option value="s2">Mathimatics</option>

    <option value="s3">Management Science</option>

    </select></td>

    </tr>

    <tr>

    <td>select Book</td>

    <td><select name="books">

    <option>please select one of the options above first</option>

    </select></td></tr>

    <tr align= "center"><th colspan="2">

    <input type="button" value="Submit" onclick = find() /></th></tr>

    </table>

    </form>

    </body>

    </html>

  • bembry
    Lv 4
    5 years ago

    And? this is particularly common....i will try this on my sleep.... Oh no sorry....i'm no longer doing all your homework the two. Addition: I published a link for you. It has all the advice needed to start up doing information superhighway websites with notepad. i certainly started with notepad. no longer something compares to having the flexibility to appreciate the way issues paintings on the middle rather of in keeping with utility that many times does not do what you decide on it to do. solid good fortune!

  • L S
    Lv 7
    1 decade ago

    Sounds like a school assignment has been handed out and one of your classmates already asked that! :-D

    Look here for answers:

    http://answers.yahoo.com/question/index;_ylt=AsGBY...

Still have questions? Get your answers by asking now.