![]() |
IOBit Software
|
|
|
||||||
| Programming Place to discuss programming including HTML, Java, C++, MySQL and others. |
![]() |
|
|
Thread Tools | Display Modes |
|
|
|
#1
|
|||
|
|||
|
please help me with this.
how to write a question bank with 5 question and the next question must appear after the user has chosen an answer. how the result will be displayed? thankyou. |
| Sponsored links |
|
|
|
#2
|
||||
|
||||
|
"The Gods help those who help themselves."
The phrase originated in ancient Greece, occurring in approximately equivalent form as the moral to one of Aesop's Fables, Hercules and the Waggoner, and later in the great tragedy authors of ancient Greek drama. Although it has been commonly attributed to Benjamin Franklin, the modern English wording appears earlier in Algernon Sidney's work. http://en.wikipedia.org/wiki/God_hel...elp_themselves What it means to you is - you first have to give it a try before asking for help. Take a whack at doing this and if you can't make it work - then come and ask for help. Be sure to post the program you wrote also as proof that you have at least tried to do this. :-)
__________________
10101010 - I'm always a confused bit. Last edited by markem; 12-18-11 at 23:00.. Reason: Put in the Wikipedia reference line. |
|
#3
|
|||
|
|||
|
Without attempting to do all of the work for you,
an idea might be to create each question and answer box, or selection, in seperate div's. And as a CSS property for these DIVS (they would have to have seperate ID's so you can alter this individually with JavaScript) "visibility:hidden;" Then you can have Javascript, either being called by using the "onchange" event. so the script is called when the content of a text box or input is changed Then that script can handle validation. This validation script would be in charge of making sure the answer is ok, and then changing the visibility property of the next question. something like: document.getElementByID(Element ID)style.visibility = 'visible'; I hope this helps you out, feel free to say if you need more help, or whether my information was both irrelevant and unhelpful =] Last edited by llama91; 01-01-12 at 17:54.. Reason: wrote the JS segment wrong |
![]() |
| Tags |
| php, question bank |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Action against the bank bonuses | BILLMCC66 | Lounge | 7 | 04-16-11 09:31 |
| Redirect for CC and Bank logins | Poppi22 | Malware Removal | 22 | 01-24-09 19:16 |
| No! Not my Net Bank Account! | Fred_G | Lounge | 22 | 10-02-08 04:53 |
| Careful which Bank you use!! | Grumbles | Interesting Website Links | 7 | 04-08-08 15:17 |
| bank fraud trojan | syrk | Malware Removal | 1 | 06-12-05 22:27 |